mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Give ThreeDAxes flat stroke by default
This commit is contained in:
parent
0ce972991b
commit
169e7a302b
1 changed files with 2 additions and 0 deletions
|
@ -508,6 +508,7 @@ class ThreeDAxes(Axes):
|
|||
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)
|
||||
|
@ -532,6 +533,7 @@ class ThreeDAxes(Axes):
|
|||
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]
|
||||
|
|
Loading…
Add table
Reference in a new issue