Skip to content

Commit

Permalink
Give ThreeDAxes flat stroke by default
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 9, 2023
1 parent 0ce9729 commit 169e7a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manimlib/mobject/coordinate_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ def __init__(
z_axis_config: dict = dict(),
z_normal: Vect3 = DOWN,
depth: float = 6.0,
flat_stroke: bool = False,
**kwargs
):
Axes.__init__(self, x_range, y_range, **kwargs)
Expand All @@ -532,6 +533,7 @@ def __init__(
self.axes.add(self.z_axis)
self.add(self.z_axis)

self.set_flat_stroke(flat_stroke)

def get_all_ranges(self) -> list[Sequence[float]]:
return [self.x_range, self.y_range, self.z_range]
Expand Down

0 comments on commit 169e7a3

Please sign in to comment.