def show_alternate_antiderivative_difference(self):
    new_integral = self.get_integral('1', '7')
    new_antideriv_diff = self.get_antiderivative_difference('1', '7')
    numbers = [TexMobject(('%d' % d)).next_to(self.coords_to_point(d, 0), DOWN, MED_LARGE_BUFF) for d in (1, 7)]
    tex_mobs = (([new_integral] + new_antideriv_diff[1::2]) + numbers)
    for tex_mob in tex_mobs:
        tex_mob.set_color_by_tex('1', RED)
        tex_mob.set_color_by_tex('7', GREEN)
        tex_mob.set_color_by_tex('\\frac{1}{3}', WHITE)
    self.change_area_bounds(1, 7, run_time=2)
    self.play(self.T_label_group[0].set_fill, None, 0, *list(map(FadeIn, numbers)))
    self.play(Transform(self.integral, new_integral), Transform(self.antideriv_diff, new_antideriv_diff))
    self.wait(3)
    for part in self.antideriv_diff[1::2]:
        self.play(Indicate(part, scale_factor=1.1))
        self.wait()
def show_alternate_antiderivative_difference(self):
    new_integral = self.get_integral('1', '7')
    new_antideriv_diff = self.get_antiderivative_difference('1', '7')
    numbers = [TexMobject(('%d' % d)).next_to(self.coords_to_point(d, 0), DOWN, MED_LARGE_BUFF) for d in (1, 7)]
    tex_mobs = (([new_integral] + new_antideriv_diff[1::2]) + numbers)
    for tex_mob in tex_mobs:
        tex_mob.set_color_by_tex('1', RED)
        tex_mob.set_color_by_tex('7', GREEN)
        tex_mob.set_color_by_tex('\\frac{1}{3}', WHITE)
    self.change_area_bounds(1, 7, run_time=2)
    self.play(self.T_label_group[0].set_fill, None, 0, *list(map(FadeIn, numbers)))
    self.play(Transform(self.integral, new_integral), Transform(self.antideriv_diff, new_antideriv_diff))
    self.wait(3)
    for part in self.antideriv_diff[1::2]:
        self.play(Indicate(part, scale_factor=1.1))
        self.wait()