Renamed gradient_highlight to set_color_by_gradient

This commit is contained in:
Grant Sanderson
2018-03-30 11:59:39 -07:00
parent 618590bee1
commit 380a87acca
45 changed files with 153 additions and 153 deletions

View File

@ -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):