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)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
x_range | positional or keyword | Not annotated | (-6, 6, 1) |
y_range | positional or keyword | Not annotated | (-5, 5, 1) |
z_range | positional or keyword | Not annotated | (-4, 4, 1) |
x_length | positional or keyword | Not annotated | 10.5 |
y_length | positional or keyword | Not annotated | 10.5 |
z_length | positional or keyword | Not annotated | 6.5 |
tips | keyword-only | Not annotated | True |
include_ticks | keyword-only | Not annotated | True |
tick_size | keyword-only | Not annotated | 0.1 |
axis_config | keyword-only | Not annotated | None |
x_axis_config | keyword-only | Not annotated | None |
y_axis_config | keyword-only | Not annotated | None |
z_axis_config | keyword-only | Not annotated | None |
labels | keyword-only | Not annotated | None |
color | keyword-only | Not annotated | None |
num_axis_pieces | keyword-only | Not annotated | 20 |
light_source | keyword-only | Not annotated | (-7, -9, 10) |
shade_in_3d | keyword-only | Not annotated | True |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ThreeDAxes.get_x_axis_label
ThreeDAxes.get_x_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
label | positional or keyword | Not annotated | No default |
buff | keyword-only | Not annotated | 0.1 |
fixed_orientation | keyword-only | Not annotated | False |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Place one existing retained text object at the positive X endpoint.
ThreeDAxes.get_y_axis_label
ThreeDAxes.get_y_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
label | positional or keyword | Not annotated | No default |
buff | keyword-only | Not annotated | 0.1 |
fixed_orientation | keyword-only | Not annotated | False |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Place one existing retained text object at the positive Y endpoint.
ThreeDAxes.get_z_axis_label
ThreeDAxes.get_z_axis_label(self, label, *, buff=0.1, fixed_orientation=False, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
label | positional or keyword | Not annotated | No default |
buff | keyword-only | Not annotated | 0.1 |
fixed_orientation | keyword-only | Not annotated | False |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Place one existing retained text object at the positive Z endpoint.
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)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
x_label | positional or keyword | Not annotated | 'x' |
y_label | positional or keyword | Not annotated | 'y' |
z_label | positional or keyword | Not annotated | 'z' |
buff | keyword-only | Not annotated | 0.1 |
fixed_orientation | keyword-only | Not annotated | False |
kwargs | **kwargs | Not annotated | No 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.
ThreeDAxes.x_axis
ThreeDAxes.x_axis(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ThreeDAxes.y_axis
ThreeDAxes.y_axis(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ThreeDAxes.z_axis
ThreeDAxes.z_axis(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ThreeDAxes.coords_to_point
ThreeDAxes.coords_to_point(self, x, y, z)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
x | positional or keyword | Not annotated | No default |
y | positional or keyword | Not annotated | No default |
z | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ThreeDAxes.point_to_coords
ThreeDAxes.point_to_coords(self, point)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
point | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.