def revert_to_specific_approximation(self):
    rects = self.rects
    rects.save_state()
    target_rects = self.rect_list[2]
    target_rects.set_fill(opacity=1)
    ticks = self.get_ticks(target_rects)
    tick_pair = VGroup(*ticks[4:6])
    brace = Brace(tick_pair, DOWN, buff=0)
    dt_label = brace.get_text('$dt$', buff=SMALL_BUFF)
    example_text = TextMobject('For example, \\\\', '$dt$', '$=0.25$')
    example_text.to_corner((UP + RIGHT))
    example_text.set_color_by_tex('dt', YELLOW)
    self.play(ReplacementTransform(rects, target_rects, run_time=2, lag_ratio=0.5))
    rects.restore()
    self.wait()
    self.play(ShowCreation(ticks), FadeOut(self.x_axis.numbers))
    self.play(GrowFromCenter(brace), Write(dt_label))
    self.wait()
    self.play(FadeIn(example_text, run_time=2, lag_ratio=0.5), ReplacementTransform(dt_label.copy(), example_text.get_part_by_tex('dt')))
    self.wait()
    self.rects = rects = target_rects
    self.ticks = ticks
    self.dt_brace = brace
    self.dt_label = dt_label
    self.dt_example_text = example_text
def revert_to_specific_approximation(self):
    rects = self.rects
    rects.save_state()
    target_rects = self.rect_list[2]
    target_rects.set_fill(opacity=1)
    ticks = self.get_ticks(target_rects)
    tick_pair = VGroup(*ticks[4:6])
    brace = Brace(tick_pair, DOWN, buff=0)
    dt_label = brace.get_text('$dt$', buff=SMALL_BUFF)
    example_text = TextMobject('For example, \\\\', '$dt$', '$=0.25$')
    example_text.to_corner((UP + RIGHT))
    example_text.set_color_by_tex('dt', YELLOW)
    self.play(ReplacementTransform(rects, target_rects, run_time=2, lag_ratio=0.5))
    rects.restore()
    self.wait()
    self.play(ShowCreation(ticks), FadeOut(self.x_axis.numbers))
    self.play(GrowFromCenter(brace), Write(dt_label))
    self.wait()
    self.play(FadeIn(example_text, run_time=2, lag_ratio=0.5), ReplacementTransform(dt_label.copy(), example_text.get_part_by_tex('dt')))
    self.wait()
    self.rects = rects = target_rects
    self.ticks = ticks
    self.dt_brace = brace
    self.dt_label = dt_label
    self.dt_example_text = example_text