On this page

ThreeDAxes

from noon import ThreeDAxes

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: _compat.Group. Declared members follow; inherited and dynamically attached members are not expanded.

Linear X/Y/Z axes with pinned Manim ranges, lengths and positive tips.

The numeric frame, world-axis transforms, ticks, tips, Cairo axis pieces,
shading, and coordinate conversions are Rust-owned. Axis labels use
retained Text or MathTex families. The axis config accepts bounded stroke,
tick, and filled-tip options.

ThreeDAxes.__init__

ThreeDAxes.__init__(self, x_range=(-6, 6, 1), y_range=(-5, 5, 1), z_range=(-4, 4, 1), x_length=10.5, y_length=10.5, z_length=6.5, *, tips=True, include_ticks=True, tick_size=0.1, axis_config=None, x_axis_config=None, y_axis_config=None, z_axis_config=None, labels=None, color=None, num_axis_pieces=20, light_source=(-7, -9, 10), shade_in_3d=True, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
x_rangepositional or keywordNot annotated(-6, 6, 1)
y_rangepositional or keywordNot annotated(-5, 5, 1)
z_rangepositional or keywordNot annotated(-4, 4, 1)
x_lengthpositional or keywordNot annotated10.5
y_lengthpositional or keywordNot annotated10.5
z_lengthpositional or keywordNot annotated6.5
tipskeyword-onlyNot annotatedTrue
include_tickskeyword-onlyNot annotatedTrue
tick_sizekeyword-onlyNot annotated0.1
axis_configkeyword-onlyNot annotatedNone
x_axis_configkeyword-onlyNot annotatedNone
y_axis_configkeyword-onlyNot annotatedNone
z_axis_configkeyword-onlyNot annotatedNone
labelskeyword-onlyNot annotatedNone
colorkeyword-onlyNot annotatedNone
num_axis_pieceskeyword-onlyNot annotated20
light_sourcekeyword-onlyNot annotated(-7, -9, 10)
shade_in_3dkeyword-onlyNot annotatedTrue
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

ThreeDAxes.get_x_axis_label

ThreeDAxes.get_x_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
labelpositional or keywordNot annotatedNo default
buffkeyword-onlyNot annotated0.1
fixed_orientationkeyword-onlyNot annotatedFalse
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

Place one existing retained text object at the positive X endpoint.

Source declaration

ThreeDAxes.get_y_axis_label

ThreeDAxes.get_y_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
labelpositional or keywordNot annotatedNo default
buffkeyword-onlyNot annotated0.1
fixed_orientationkeyword-onlyNot annotatedFalse
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

Place one existing retained text object at the positive Y endpoint.

Source declaration

ThreeDAxes.get_z_axis_label

ThreeDAxes.get_z_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
labelpositional or keywordNot annotatedNo default
buffkeyword-onlyNot annotated0.1
fixed_orientationkeyword-onlyNot annotatedFalse
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

Place one existing retained text object at the positive Z endpoint.

Source declaration

ThreeDAxes.get_axis_labels

ThreeDAxes.get_axis_labels(self, x_label='x', y_label='y', z_label='z', *, buff=0.1, fixed_orientation=False, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
x_labelpositional or keywordNot annotated'x'
y_labelpositional or keywordNot annotated'y'
z_labelpositional or keywordNot annotated'z'
buffkeyword-onlyNot annotated0.1
fixed_orientationkeyword-onlyNot annotatedFalse
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

Place three existing retained text objects in one Rust transaction.

Strings use the existing retained MathTex compiler path, which must
already be prepared. Existing Text and MathTex families retain their
Rust-owned layout and screen-edge correction.

Source declaration

ThreeDAxes.x_axis

ThreeDAxes.x_axis(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

ThreeDAxes.y_axis

ThreeDAxes.y_axis(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

ThreeDAxes.z_axis

ThreeDAxes.z_axis(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

ThreeDAxes.coords_to_point

ThreeDAxes.coords_to_point(self, x, y, z)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
xpositional or keywordNot annotatedNo default
ypositional or keywordNot annotatedNo default
zpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

ThreeDAxes.point_to_coords

ThreeDAxes.point_to_coords(self, point)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
pointpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration