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: Any

    positional plot arguments

  • figure: Any

    an existing figure to draw into

  • axes: Any

    existing axes to draw into

  • subplot_kw: dict | None

    subplot construction options

  • event_handlers: Any

    interactive event handlers

  • animate: Any

    an animation specification

  • axes_labels: Any

    the axis labels

  • plot_label: Any

    the plot title

  • style_list: Any

    the style cycle

  • plot_range: Any

    the data range

  • plot_legend: Any

    the legend

  • ticks: Any

    the tick specification

  • scale: Any

    the axis scaling

  • ticks_style: Any

    tick styling

  • image_size: Any

    the image size

  • background: Any

    the background color

  • view_settings: Any

    the 3D camera/view settings

  • box_ratios: Any

    the 3D box aspect ratios

  • projection_type: Any

    the projection (e.g. perspective/ortho)

  • aspect_ratio: Any

    the aspect ratio

  • autoscale: Any

    the autoscale setting

  • backend: str

    the plotting backend

  • kwargs: Any

    extra 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: Any

    the 3D view settings

  • box_ratios: Any

    the 3D box aspect ratios

  • projection_type: Any

    the projection type

  • aspect_ratio: Any

    the aspect ratio

  • autoscale: Any

    the autoscale setting

  • parent_opts: Any

    options 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


Feedback

Examples

Templates

Documentation