def construct(self):
    self.setup_axes()
    self.remove(*self.x_axis.numbers)
    self.remove(*self.y_axis.numbers)
    graph = self.get_graph(self.func)
    rects = self.get_riemann_rectangles(graph, x_min=0, x_max=4, dx=0.25)
    words = TextMobject('Integrals')
    words.set_width(8)
    words.to_edge(UP)
    self.add(graph, rects, words)
def construct(self):
    self.setup_axes()
    self.remove(*self.x_axis.numbers)
    self.remove(*self.y_axis.numbers)
    graph = self.get_graph(self.func)
    rects = self.get_riemann_rectangles(graph, x_min=0, x_max=4, dx=0.25)
    words = TextMobject('Integrals')
    words.set_width(8)
    words.to_edge(UP)
    self.add(graph, rects, words)