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

@ -99,13 +99,13 @@ class ComplexTransformationScene(Scene):
def paint_plane(self, plane):
for lines in plane.main_lines, plane.secondary_lines:
lines.gradient_highlight(
lines.set_color_by_gradient(
self.vert_start_color,
self.vert_end_color,
self.horiz_start_color,
self.horiz_end_color,
)
# plane.axes.gradient_highlight(
# plane.axes.set_color_by_gradient(
# self.horiz_start_color,
# self.vert_start_color
# )