def get_area(self, t_min, t_max):
    numerator = max((t_max - t_min), 0.01)
    dx = (float(numerator) / self.num_rects)
    return self.get_riemann_rectangles(self.v_graph, x_min=t_min, x_max=t_max, dx=dx, stroke_width=0).set_fill(opacity=self.area_opacity)
def get_area(self, t_min, t_max):
    numerator = max((t_max - t_min), 0.01)
    dx = (float(numerator) / self.num_rects)
    return self.get_riemann_rectangles(self.v_graph, x_min=t_min, x_max=t_max, dx=dx, stroke_width=0).set_fill(opacity=self.area_opacity)