Graphics3D
default_style: dict
opt_keys: set
known_keys: set
__init__(self, *args, figure=None, axes=None, subplot_kw=None, event_handlers=None, animate=None, axes_labels=None, plot_label=None, style_list=None, plot_range=None, plot_legend=None, ticks=None, scale=None, ticks_style=None, image_size=None, background=None, view_settings=None, box_ratios=None, projection_type=None, aspect_ratio=None, autoscale=None, backend='matplotlib3D', **kwargs):
LLM Docstring
Set up a 3D plot, forwarding the 2D styling options to Graphics and adding the
3D-specific ones (view settings, box ratios, projection, autoscale) with a 3D
backend and property manager.
args:Anypositional plot arguments
figure:Anyan existing figure to draw into
axes:Anyexisting axes to draw into
subplot_kw:dict | Nonesubplot construction options
event_handlers:Anyinteractive event handlers
animate:Anyan animation specification
axes_labels:Anythe axis labels
plot_label:Anythe plot title
style_list:Anythe style cycle
plot_range:Anythe data range
plot_legend:Anythe legend
ticks:Anythe tick specification
scale:Anythe axis scaling
ticks_style:Anytick styling
image_size:Anythe image size
background:Anythe background color
view_settings:Anythe 3D camera/view settings
box_ratios:Anythe 3D box aspect ratios
projection_type:Anythe projection (e.g. perspective/ortho)
aspect_ratio:Anythe aspect ratio
autoscale:Anythe autoscale setting
backend:strthe plotting backend
kwargs:Anyextra options
set_options(self, view_settings=None, box_ratios=None, projection_type=None, aspect_ratio=None, autoscale=None, **parent_opts):
LLM Docstring
Set the 3D-specific options (view settings, box ratios, projection, autoscale, aspect ratio) on top of the base options.
view_settings:Anythe 3D view settings
box_ratios:Anythe 3D box aspect ratios
projection_type:Anythe projection type
aspect_ratio:Anythe aspect ratio
autoscale:Anythe autoscale setting
parent_opts:Anyoptions forwarded to
Graphics.set_options
@property
box_ratios(self):
LLM Docstring
The 3D box aspect ratios. Getter/setter delegate to the property manager (the setter also records the change for copying).
:returns:_the box ratios value
@property
autoscale(self):
LLM Docstring
Whether the 3D axes autoscale. Getter/setter delegate to the property manager (the setter also records the change for copying).
:returns:_the autoscale value
@property
projection_type(self):
LLM Docstring
The 3D projection type. Getter/setter delegate to the property manager (the setter also records the change for copying).
:returns:_the projection type value
@property
view_settings(self):
LLM Docstring
The 3D camera/view settings. Getter/setter delegate to the property manager (the setter also records the change for copying).
:returns:_the view settings value