Axes
from noon import Axes
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.
2D axes with Manim v0.21 ranges, dimensions, filled tips, and scales.
Axes.__init__
Axes.__init__(self, x_range=None, y_range=None, *, x_length=None, y_length=None, tips=True, include_ticks=True, tick_size=0.1, axis_config=None, x_axis_config=None, y_axis_config=None, color=None, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
x_range | positional or keyword | Not annotated | None |
y_range | positional or keyword | Not annotated | None |
x_length | keyword-only | Not annotated | None |
y_length | keyword-only | Not annotated | None |
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 |
color | keyword-only | Not annotated | None |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Axes.get_axes
Axes.get_axes(self)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
Return a retained family grouping the two coordinate axes.
Axes.get_axis
Axes.get_axis(self, index)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
index | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
Return one axis by its Manim index (x=0, y=1).
Axes.get_x_axis
Axes.get_x_axis(self)
| 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.
Axes.get_y_axis
Axes.get_y_axis(self)
| 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.
Axes.get_x_unit_size
Axes.get_x_unit_size(self)
| 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.
Axes.get_y_unit_size
Axes.get_y_unit_size(self)
| 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.
Axes.get_x_axis_label
Axes.get_x_axis_label(self, label, edge=_base.UR, direction=_base.UR, buff=_base.SMALL_BUFF, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
label | positional or keyword | Not annotated | No default |
edge | positional or keyword | Not annotated | _base.UR |
direction | positional or keyword | Not annotated | _base.UR |
buff | positional or keyword | Not annotated | _base.SMALL_BUFF |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create a retained label next to the upper-right x-axis edge. Strings and numeric values use MathTex. Retained text mobjects are placed without recompiling.
Axes.get_y_axis_label
Axes.get_y_axis_label(self, label, edge=_base.UR, direction=_base.UP * 0.5 + _base.RIGHT, buff=_base.SMALL_BUFF, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
label | positional or keyword | Not annotated | No default |
edge | positional or keyword | Not annotated | _base.UR |
direction | positional or keyword | Not annotated | _base.UP * 0.5 + _base.RIGHT |
buff | positional or keyword | Not annotated | _base.SMALL_BUFF |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create a retained label next to the upper-right y-axis edge.
Axes.get_axis_labels
Axes.get_axis_labels(self, x_label='x', y_label='y')
| 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' |
Return annotation: Not annotated
Create and retain the default x/y label pair.
Axes.get_line_from_axis_to_point
Axes.get_line_from_axis_to_point(self, index, point, line_func=None, line_config=None, color=None, stroke_width=2)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
index | positional or keyword | Not annotated | No default |
point | positional or keyword | Not annotated | No default |
line_func | positional or keyword | Not annotated | None |
line_config | positional or keyword | Not annotated | None |
color | positional or keyword | Not annotated | None |
stroke_width | positional or keyword | Not annotated | 2 |
Return annotation: Not annotated
Create a retained line from one coordinate axis to a scene point. Projection uses the selected NumberLine's current shared Rust frame; this wrapper only selects the axis and forwards constructor options.
Axes.get_vertical_line
Axes.get_vertical_line(self, point, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
point | positional or keyword | Not annotated | No default |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create a vertical line from the x-axis to a scene point.
Axes.get_horizontal_line
Axes.get_horizontal_line(self, point, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
point | positional or keyword | Not annotated | No default |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create a horizontal line from the y-axis to a scene point.
Axes.get_lines_to_point
Axes.get_lines_to_point(self, point, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
point | positional or keyword | Not annotated | No default |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create horizontal and vertical guide lines to a scene point.
Axes.x_axis
Axes.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.
Axes.y_axis
Axes.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.
Axes.coords_to_point
Axes.coords_to_point(self, x, y=0.0)
| 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 | 0.0 |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Axes.point_to_coords
Axes.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.
Axes.get_origin
Axes.get_origin(self)
| 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.
Axes.plot
Axes.plot(self, function, x_range=None, *, use_smoothing=True, discontinuities=(), dt=None, color=None, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
function | positional or keyword | Not annotated | No default |
x_range | positional or keyword | Not annotated | None |
use_smoothing | keyword-only | Not annotated | True |
discontinuities | keyword-only | Not annotated | () |
dt | keyword-only | Not annotated | None |
color | keyword-only | Not annotated | None |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Axes.input_to_graph_point
Axes.input_to_graph_point(self, x, graph)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
x | positional or keyword | Not annotated | No default |
graph | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
Return a callable-backed graph point; retained-path inversion is unsupported.
Axes.plot_samples
Axes.plot_samples(self, points, *, color=None, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
points | positional or keyword | Not annotated | No default |
color | keyword-only | Not annotated | None |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Preserve sample order and repeated x values as a retained polyline.
Axes.get_area
Axes.get_area(self, graph, x_range=None, color=None, opacity=0.3, bounded_graph=None, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
graph | positional or keyword | Not annotated | No default |
x_range | positional or keyword | Not annotated | None |
color | positional or keyword | Not annotated | None |
opacity | positional or keyword | Not annotated | 0.3 |
bounded_graph | positional or keyword | Not annotated | None |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Create one static closed path prepared by the shared Rust query.
Axes.get_riemann_rectangles
Axes.get_riemann_rectangles(self, graph, x_range=None, dx=0.1, input_sample_type='left', stroke_width=1, stroke_color=_base.BLACK, fill_opacity=1, color=(_base.BLUE, _base.GREEN), show_signed_area=True, bounded_graph=None, blend=False, width_scale_factor=1.001)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
graph | positional or keyword | Not annotated | No default |
x_range | positional or keyword | Not annotated | None |
dx | positional or keyword | Not annotated | 0.1 |
input_sample_type | positional or keyword | Not annotated | 'left' |
stroke_width | positional or keyword | Not annotated | 1 |
stroke_color | positional or keyword | Not annotated | _base.BLACK |
fill_opacity | positional or keyword | Not annotated | 1 |
color | positional or keyword | Not annotated | (_base.BLUE, _base.GREEN) |
show_signed_area | positional or keyword | Not annotated | True |
bounded_graph | positional or keyword | Not annotated | None |
blend | positional or keyword | Not annotated | False |
width_scale_factor | positional or keyword | Not annotated | 1.001 |
Return annotation: Not annotated
Sample original scalar callables against one Rust-captured snapshot.
Axes.add_coordinates
Axes.add_coordinates(self, *axes_numbers, x_config=None, y_config=None, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
axes_numbers | *args | Not annotated | No default |
x_config | keyword-only | Not annotated | None |
y_config | keyword-only | Not annotated | None |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
Add default or positional per-axis coordinate labels. Numeric defaults use retained DecimalNumber labels. Passing ``font`` selects native Text. Two-axis numeric labels commit together and must use one text type. Add mixed text types or custom mappings one axis at a time.
Axes.time_series_plan
Axes.time_series_plan(self, samples, *, run_time)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
samples | positional or keyword | Not annotated | No default |
run_time | keyword-only | Not annotated | No default |
Return annotation: Not annotated
Noon extension: map timestamp/value pairs and prepare interval timing. Samples must be finite and strictly increasing in time. The immutable result is preparation data for ordinary plays, not a clock or updater. No interpolation, sorting, or timestamp normalization occurs in Python.
Axes.synchronized_series_plan
Axes.synchronized_series_plan(self, series, *, time_range, run_time)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
series | positional or keyword | Not annotated | No default |
time_range | keyword-only | Not annotated | No default |
run_time | keyword-only | Not annotated | No default |
Return annotation: Not annotated
Noon extension: prepare multiple recordings in one explicit window. Every recording must cover time_range. Rust splits at the union of input timestamps and linearly interpolates each series there; it never fills missing coverage or extrapolates. This immutable, bounded preparation is for ordinary plays, not a streaming player or a live coordinate cache.
Axes.gapped_series_plan
Axes.gapped_series_plan(self, series, *, break_after, time_range, run_time)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
series | positional or keyword | Not annotated | No default |
break_after | keyword-only | Not annotated | No default |
time_range | keyword-only | Not annotated | No default |
run_time | keyword-only | Not annotated | No default |
Return annotation: Not annotated
Prepare explicitly disconnected recordings on one shared time grid. Supply one strictly increasing list of source break-after indices per recording. Index i disconnects samples i and i+1; both measured endpoints remain known. Missing points AND missing drawable segments are None. Never infer a line from two known points: consult series_segments. NaN guessing, extrapolation, and hold-last-value filling are not provided.
Axes.plot_implicit_curve
Axes.plot_implicit_curve(self, func, min_depth=5, max_quads=1500, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
func | positional or keyword | Not annotated | No default |
min_depth | positional or keyword | Not annotated | 5 |
max_quads | positional or keyword | Not annotated | 1500 |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.