Skip to content

Instantly share code, notes, and snippets.

@jaddoescad
Created March 10, 2019 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaddoescad/10c143e9e36dcbb61152590f83036392 to your computer and use it in GitHub Desktop.
Save jaddoescad/10c143e9e36dcbb61152590f83036392 to your computer and use it in GitHub Desktop.
draw axis with manim
from big_ol_pile_of_manim_imports import *
class DrawAnAxis(Scene):
CONFIG = { "plane_kwargs" : {
"x_line_frequency" : 2,
"y_line_frequency" :2
}
}
def construct(self):
my_plane = NumberPlane(**self.plane_kwargs)
my_plane.add(my_plane.get_axis_labels())
self.add(my_plane)
self.wait(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment