def show_integral_considering_continuum(self):
    self.play(*[ApplyMethod(mob.set_fill, None, 0.2) for mob in (self.deriv, self.rhs)])
    self.play(self.rects.restore, run_time=3, rate_func=there_and_back)
    self.wait()
    for x in range(2):
        self.play(*[ApplyFunction((lambda m: m.shift((MED_SMALL_BUFF * UP)).set_fill(opacity=1)), rect, run_time=3, rate_func=squish_rate_func(there_and_back, alpha, (alpha + 0.2))) for (rect, alpha) in zip(self.rects, np.linspace(0, 0.8, len(self.rects)))])
    self.wait()
def show_integral_considering_continuum(self):
    self.play(*[ApplyMethod(mob.set_fill, None, 0.2) for mob in (self.deriv, self.rhs)])
    self.play(self.rects.restore, run_time=3, rate_func=there_and_back)
    self.wait()
    for x in range(2):
        self.play(*[ApplyFunction((lambda m: m.shift((MED_SMALL_BUFF * UP)).set_fill(opacity=1)), rect, run_time=3, rate_func=squish_rate_func(there_and_back, alpha, (alpha + 0.2))) for (rect, alpha) in zip(self.rects, np.linspace(0, 0.8, len(self.rects)))])
    self.wait()