Merge branch 'master' of github.com:3b1b/manim

Change MOVIE_DIR
This commit is contained in:
Grant Sanderson 2018-01-08 17:30:15 -08:00
commit d8c4021eec

View file

@ -123,6 +123,10 @@ class GraphScene(Scene):
result += self.y_axis.number_to_point(y)[1]*UP
return result
def point_to_coords(self, point):
return (self.x_axis.point_to_number(point),
self.y_axis.point_to_number(point))
def get_graph(
self, func,
color = None,