mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Renamed gradient_highlight to set_color_by_gradient
This commit is contained in:
@ -342,7 +342,7 @@ class BarChart(VGroup):
|
||||
)
|
||||
bar.move_to((2*i+1)*buff*RIGHT, DOWN+LEFT)
|
||||
bars.add(bar)
|
||||
bars.gradient_highlight(*self.bar_colors)
|
||||
bars.set_color_by_gradient(*self.bar_colors)
|
||||
|
||||
bar_labels = VGroup()
|
||||
for bar, name in zip(bars, self.bar_names):
|
||||
|
Reference in New Issue
Block a user