doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
set_3d_properties(z=0, zdir='z')[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.set_3d_properties
set_position_3d(xyz, zdir=None)[source] Set the (x, y, z) position of the text. Parameters xyz(float, float, float) The position in 3D space. zdir{'x', 'y', 'z', None, 3-tuple} The direction of the text. If unspecified, the zdir will not be changed.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.set_position_3d
set_z(z)[source] Set the z position of the text. Parameters zfloat
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.set_z
mpl_toolkits.mplot3d.art3d.text_2d_to_3d mpl_toolkits.mplot3d.art3d.text_2d_to_3d(obj, z=0, zdir='z')[source] Convert a Text to a Text3D object.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text_2d_to_3d
mpl_toolkits.mplot3d.axes3d.Axes3D classmpl_toolkits.mplot3d.axes3d.Axes3D(fig, rect=None, *args, azim=- 60, elev=30, sharez=None, proj_type='persp', box_aspect=None, computed_zorder=True, **kwargs)[source] Bases: matplotlib.axes._axes.Axes 3D axes object. Parameters figFigure The parent figure. rect(float,...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d
add_collection3d(col, zs=0, zdir='z')[source] Add a 3D collection object to the plot. 2D collection types are converted to a 3D version by modifying the object and adding z coordinate information. Supported are: PolyCollection LineCollection PatchCollection
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.add_collection3d
add_contour_set(cset, extend3d=False, stride=5, zdir='z', offset=None)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.add_contour_set
add_contourf_set(cset, zdir='z', offset=None)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.add_contourf_set
apply_aspect(position=None)[source] Adjust the Axes for a specified data aspect ratio. Depending on get_adjustable this will modify either the Axes box (position) or the view limits. In the former case, get_anchor will affect the position. See also matplotlib.axes.Axes.set_aspect For a description of aspect ratio ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.apply_aspect
auto_scale_xyz(X, Y, Z=None, had_data=None)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.auto_scale_xyz
autoscale(enable=True, axis='both', tight=None)[source] Convenience method for simple axis view autoscaling. See matplotlib.axes.Axes.autoscale() for full explanation. Note that this function behaves the same, but for all three axes. Therefore, 'z' can be passed for axis, and 'both' applies to all three axes.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.autoscale
autoscale_view(tight=None, scalex=True, scaley=True, scalez=True)[source] Autoscale the view limits using the data limits. See matplotlib.axes.Axes.autoscale_view() for documentation. Note that this function applies to the 3D axes, and as such adds the scalez to the function arguments.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.autoscale_view
bar(left, height, zs=0, zdir='z', *args, data=None, **kwargs)[source] Add 2D bar(s). Parameters left1D array-like The x coordinates of the left sides of the bars. height1D array-like The height of the bars. zsfloat or 1D array-like Z coordinate of bars; if a single value is specified, it will be used fo...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.bar
bar3d(x, y, z, dx, dy, dz, color=None, zsort='average', shade=True, lightsource=None, *args, data=None, **kwargs)[source] Generate a 3D barplot. This method creates three dimensional barplot where the width, depth, height, and color of the bars can all be uniquely set. Parameters x, y, zarray-like The coordinat...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.bar3d
can_pan()[source] Return whether this axes supports the pan/zoom button functionality. 3D axes objects do not use the pan/zoom button.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.can_pan
can_zoom()[source] Return whether this axes supports the zoom box button functionality. 3D axes objects do not use the zoom box button.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.can_zoom
cla()[source] Clear the Axes.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.cla
clabel(*args, **kwargs)[source] Currently not implemented for 3D axes, and returns None.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.clabel
contour(X, Y, Z, *args, extend3d=False, stride=5, zdir='z', offset=None, data=None, **kwargs)[source] Create a 3D contour plot. Parameters X, Y, Zarray-like, Input data. See contour for acceptable data shapes. extend3dbool, default: False Whether to extend contour in 3D. strideint Step size for extendin...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.contour
contour3D(X, Y, Z, *args, extend3d=False, stride=5, zdir='z', offset=None, data=None, **kwargs)[source] Create a 3D contour plot. Parameters X, Y, Zarray-like, Input data. See contour for acceptable data shapes. extend3dbool, default: False Whether to extend contour in 3D. strideint Step size for extend...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.contour3D
contourf(X, Y, Z, *args, zdir='z', offset=None, data=None, **kwargs)[source] Create a 3D filled contour plot. Parameters X, Y, Zarray-like Input data. See contourf for acceptable data shapes. zdir{'x', 'y', 'z'}, default: 'z' The direction to use. offsetfloat, optional If specified, plot a projection of...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.contourf
contourf3D(X, Y, Z, *args, zdir='z', offset=None, data=None, **kwargs)[source] Create a 3D filled contour plot. Parameters X, Y, Zarray-like Input data. See contourf for acceptable data shapes. zdir{'x', 'y', 'z'}, default: 'z' The direction to use. offsetfloat, optional If specified, plot a projection ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.contourf3D
convert_zunits(z)[source] For artists in an axes, if the zaxis has units support, convert z using zaxis unit type
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.convert_zunits
disable_mouse_rotation()[source] Disable mouse buttons for 3D rotation and zooming.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.disable_mouse_rotation
draw(renderer)[source] Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters rendererRendererBase subclass. Notes This method is overridden in the Artist subclasses.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.draw
errorbar(x, y, z, zerr=None, yerr=None, xerr=None, fmt='', barsabove=False, errorevery=1, ecolor=None, elinewidth=None, capsize=None, capthick=None, xlolims=False, xuplims=False, ylolims=False, yuplims=False, zlolims=False, zuplims=False, *, data=None, **kwargs)[source] Plot lines and/or markers with errorbars around...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.errorbar
format_coord(xd, yd)[source] Given the 2D view coordinates attempt to guess a 3D coordinate. Looks for the nearest edge to the point and then assumes that the point is at the same z location as the nearest point on the edge.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.format_coord
format_zdata(z)[source] Return z string formatted. This function will use the fmt_zdata attribute if it is callable, else will fall back on the zaxis major formatter
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.format_zdata
get_autoscale_on()[source] Return True if each axis is autoscaled, False otherwise.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_autoscale_on
get_autoscalez_on()[source] Return whether the z-axis is autoscaled.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_autoscalez_on
get_axis_position()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_axis_position
get_frame_on()[source] Get whether the 3D axes panels are drawn.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_frame_on
get_proj()[source] Create the projection matrix from the current viewing position.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_proj
get_tightbbox(renderer, call_axes_locator=True, bbox_extra_artists=None, *, for_layout_only=False)[source] Return the tight bounding box of the axes, including axis and their decorators (xlabel, title, etc). Artists that have artist.set_in_layout(False) are not included in the bbox. Parameters rendererRendererBas...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_tightbbox
get_w_lims()[source] Get 3D world limits.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_w_lims
get_xlim()[source] Alias for get_xlim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_xlim
get_xlim3d()[source] Return the x-axis view limits. Returns left, right(float, float) The current x-axis limits in data coordinates. See also set_xlim set_xbound, get_xbound invert_xaxis, xaxis_inverted Notes The x-axis may be inverted, in which case the left value will be greater than the right val...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_xlim3d
get_ylim()[source] Alias for get_ylim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_ylim
get_ylim3d()[source] Return the y-axis view limits. Returns bottom, top(float, float) The current y-axis limits in data coordinates. See also set_ylim set_ybound, get_ybound invert_yaxis, yaxis_inverted Notes The y-axis may be inverted, in which case the bottom value will be greater than the top val...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_ylim3d
get_zaxis()[source] Return the ZAxis (Axis) instance.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zaxis
get_zbound()[source] Return the lower and upper z-axis bounds, in increasing order.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zbound
get_zgridlines()[source] Return the zaxis' grid lines as a list of Line2Ds.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zgridlines
get_zlabel()[source] Get the z-label text string.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zlabel
get_zlim()[source] Alias for get_zlim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zlim
get_zlim3d()[source] Get 3D z limits.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zlim3d
get_zmajorticklabels()[source] Return the zaxis' major tick labels, as a list of Text.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zmajorticklabels
get_zminorticklabels()[source] Return the zaxis' minor tick labels, as a list of Text.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zminorticklabels
get_zscale()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zscale
get_zticklabels(minor=False, which=None)[source] Get the zaxis' tick labels. Parameters minorbool Whether to return the minor or the major ticklabels. whichNone, ('minor', 'major', 'both') Overrides minor. Selects which ticklabels to return Returns list of Text Notes The tick label strings are not ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zticklabels
get_zticklines(minor=False)[source] Return the zaxis' tick lines as a list of Line2Ds.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zticklines
get_zticks(*, minor=False)[source] Return the zaxis' tick locations in data coordinates.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.get_zticks
grid(visible=True, **kwargs)[source] Set / unset 3D grid. Note Currently, this function does not behave the same as matplotlib.axes.Axes.grid(), but it is intended to eventually support that behavior.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.grid
invert_zaxis()[source] Invert the z-axis.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.invert_zaxis
locator_params(axis='both', tight=None, **kwargs)[source] Convenience method for controlling tick locators. See matplotlib.axes.Axes.locator_params() for full documentation. Note that this is for Axes3D objects, therefore, setting axis to 'both' will result in the parameters being set for all three axes. Also, axis c...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.locator_params
margins(*margins, x=None, y=None, z=None, tight=True)[source] Convenience method to set or retrieve autoscaling margins. Call signatures: margins() returns xmargin, ymargin, zmargin margins(margin) margins(xmargin, ymargin, zmargin) margins(x=xmargin, y=ymargin, z=zmargin) margins(..., tight=False) All forms abo...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.margins
mouse_init(rotate_btn=1, zoom_btn=3)[source] Set the mouse buttons for 3D rotation and zooming. Parameters rotate_btnint or list of int, default: 1 The mouse button or buttons to use for 3D rotation of the axes. zoom_btnint or list of int, default: 3 The mouse button or buttons to use to zoom the 3D axes.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.mouse_init
name='3d'
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.name
plot(xs, ys, *args, zdir='z', **kwargs)[source] Plot 2D or 3D data. Parameters xs1D array-like x coordinates of vertices. ys1D array-like y coordinates of vertices. zsfloat or 1D array-like z coordinates of vertices; either one for all points or one for each point. zdir{'x', 'y', 'z'}, default: 'z' ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.plot
plot3D(xs, ys, *args, zdir='z', **kwargs)[source] Plot 2D or 3D data. Parameters xs1D array-like x coordinates of vertices. ys1D array-like y coordinates of vertices. zsfloat or 1D array-like z coordinates of vertices; either one for all points or one for each point. zdir{'x', 'y', 'z'}, default: 'z' ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.plot3D
plot_surface(X, Y, Z, *args, norm=None, vmin=None, vmax=None, lightsource=None, **kwargs)[source] Create a surface plot. By default it will be colored in shades of a solid color, but it also supports colormapping by supplying the cmap argument. Note The rcount and ccount kwargs, which both default to 50, determine t...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.plot_surface
plot_trisurf(*args, color=None, norm=None, vmin=None, vmax=None, lightsource=None, **kwargs)[source] Plot a triangulated surface. The (optional) triangulation can be specified in one of two ways; either: plot_trisurf(triangulation, ...) where triangulation is a Triangulation object, or: plot_trisurf(X, Y, ...) plot_...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf
plot_wireframe(X, Y, Z, *args, **kwargs)[source] Plot a 3D wireframe. Note The rcount and ccount kwargs, which both default to 50, determine the maximum number of samples used in each direction. If the input data is larger, it will be downsampled (by slicing) to these numbers of points. Parameters X, Y, Z2D arr...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.plot_wireframe
quiver(X, Y, Z, U, V, W, /, length=1, arrow_length_ratio=.3, pivot='tail', normalize=False, **kwargs)[source] Plot a 3D field of arrows. The arguments could be array-like or scalars, so long as they they can be broadcast together. The arguments can also be masked arrays. If an element in any of argument is masked, th...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.quiver
quiver3D(X, Y, Z, U, V, W, /, length=1, arrow_length_ratio=.3, pivot='tail', normalize=False, **kwargs)[source] Plot a 3D field of arrows. The arguments could be array-like or scalars, so long as they they can be broadcast together. The arguments can also be masked arrays. If an element in any of argument is masked, ...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.quiver3D
scatter(xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True, *args, data=None, **kwargs)[source] Create a scatter plot. Parameters xs, ysarray-like The data positions. zsfloat or array-like, default: 0 The z-positions. Either an array of the same length as xs and ys or a single value to place all points i...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.scatter
scatter3D(xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True, *args, data=None, **kwargs)[source] Create a scatter plot. Parameters xs, ysarray-like The data positions. zsfloat or array-like, default: 0 The z-positions. Either an array of the same length as xs and ys or a single value to place all points...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.scatter3D
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, autoscalez_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, fa...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set
set_aspect(aspect, adjustable=None, anchor=None, share=False)[source] Set the aspect ratios. Axes 3D does not current support any aspect but 'auto' which fills the axes with the data limits. To simulate having equal aspect in data space, set the ratio of your data limits to match the value of get_box_aspect. To contr...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect
set_autoscale_on(b)[source] Set whether autoscaling is applied to each axis on the next draw or call to Axes.autoscale_view. Parameters bbool
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_autoscale_on
set_autoscalez_on(b)[source] Set whether the z-axis is autoscaled on the next draw or call to Axes.autoscale_view. Parameters bbool
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_autoscalez_on
set_axis_off()[source] Turn the x- and y-axis off. This affects the axis lines, ticks, ticklabels, grid and axis labels.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_axis_off
set_axis_on()[source] Turn the x- and y-axis on. This affects the axis lines, ticks, ticklabels, grid and axis labels.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_axis_on
set_box_aspect(aspect, *, zoom=1)[source] Set the axes box aspect. The box aspect is the ratio of height to width in display units for each face of the box when viewed perpendicular to that face. This is not to be confused with the data aspect (which for Axes3D is always 'auto'). The default ratios are 4:4:3 (x:y:z)....
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_box_aspect
set_frame_on(b)[source] Set whether the 3D axes panels are drawn. Parameters bbool
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_frame_on
set_proj_type(proj_type)[source] Set the projection type. Parameters proj_type{'persp', 'ortho'}
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type
set_title(label, fontdict=None, loc='center', **kwargs)[source] Set a title for the Axes. Set one of the three available Axes titles. The available titles are positioned above the Axes in the center, flush with the left edge, and flush with the right edge. Parameters labelstr Text to use for the title fontdic...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_title
set_top_view()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_top_view
set_xlim(left=None, right=None, emit=True, auto=False, *, xmin=None, xmax=None)[source] Alias for set_xlim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_xlim
set_xlim3d(left=None, right=None, emit=True, auto=False, *, xmin=None, xmax=None)[source] Set 3D x limits. See matplotlib.axes.Axes.set_xlim() for full documentation.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_xlim3d
set_xmargin(m)[source] Set padding of X data limits prior to autoscaling. m times the data interval will be added to each end of that interval before it is used in autoscaling. For example, if your data is in the range [0, 2], a factor of m = 0.1 will result in a range [-0.2, 2.2]. Negative values -0.5 < m < 0 will r...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_xmargin
set_xscale(value, **kwargs)[source] Set the x-axis scale. Parameters value{"linear"} The axis scale type to apply. 3D axes currently only support linear scales; other scales yield nonsensical results. **kwargs Keyword arguments are nominally forwarded to the scale class, but none of them is applicable for lin...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_xscale
set_ylim(bottom=None, top=None, emit=True, auto=False, *, ymin=None, ymax=None)[source] Alias for set_ylim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_ylim
set_ylim3d(bottom=None, top=None, emit=True, auto=False, *, ymin=None, ymax=None)[source] Set 3D y limits. See matplotlib.axes.Axes.set_ylim() for full documentation.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_ylim3d
set_ymargin(m)[source] Set padding of Y data limits prior to autoscaling. m times the data interval will be added to each end of that interval before it is used in autoscaling. For example, if your data is in the range [0, 2], a factor of m = 0.1 will result in a range [-0.2, 2.2]. Negative values -0.5 < m < 0 will r...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_ymargin
set_yscale(value, **kwargs)[source] Set the y-axis scale. Parameters value{"linear"} The axis scale type to apply. 3D axes currently only support linear scales; other scales yield nonsensical results. **kwargs Keyword arguments are nominally forwarded to the scale class, but none of them is applicable for lin...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_yscale
set_zbound(lower=None, upper=None)[source] Set the lower and upper numerical bounds of the z-axis. This method will honor axes inversion regardless of parameter order. It will not change the autoscaling setting (get_autoscalez_on()).
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zbound
set_zlabel(zlabel, fontdict=None, labelpad=None, **kwargs)[source] Set zlabel. See doc for set_ylabel for description.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlabel
set_zlim(bottom=None, top=None, emit=True, auto=False, *, zmin=None, zmax=None)[source] Alias for set_zlim3d.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlim
set_zlim3d(bottom=None, top=None, emit=True, auto=False, *, zmin=None, zmax=None)[source] Set 3D z limits. See matplotlib.axes.Axes.set_ylim() for full documentation
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlim3d
set_zmargin(m)[source] Set padding of Z data limits prior to autoscaling. m times the data interval will be added to each end of that interval before it is used in autoscaling. accepts: float in range 0 to 1
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zmargin
set_zscale(value, **kwargs)[source] Set the z-axis scale. Parameters value{"linear"} The axis scale type to apply. 3D axes currently only support linear scales; other scales yield nonsensical results. **kwargs Keyword arguments are nominally forwarded to the scale class, but none of them is applicable for lin...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zscale
set_zticklabels(labels, *, fontdict=None, minor=False, **kwargs)[source] Set the zaxis' labels with list of string labels. Warning This method should only be used after fixing the tick positions using Axes3D.set_zticks. Otherwise, the labels may end up in unexpected positions. Parameters labelslist of str The...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zticklabels
set_zticks(ticks, labels=None, *, minor=False, **kwargs)[source] Set the zaxis' tick locations and optionally labels. If necessary, the view limits of the Axis are expanded so that all given ticks are visible. Parameters tickslist of floats List of tick locations. labelslist of str, optional List of tick la...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.set_zticks
stem(x, y, z, *, linefmt='C0-', markerfmt='C0o', basefmt='C3-', bottom=0, label=None, orientation='z', data=None)[source] Create a 3D stem plot. A stem plot draws lines perpendicular to a baseline, and places markers at the heads. By default, the baseline is defined by x and y, and stems are drawn vertically from bot...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.stem
stem3D(x, y, z, *, linefmt='C0-', markerfmt='C0o', basefmt='C3-', bottom=0, label=None, orientation='z', data=None)[source] Create a 3D stem plot. A stem plot draws lines perpendicular to a baseline, and places markers at the heads. By default, the baseline is defined by x and y, and stems are drawn vertically from b...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.stem3D
text(x, y, z, s, zdir=None, **kwargs)[source] Add text to the plot. kwargs will be passed on to Axes.text, except for the zdir keyword, which sets the direction to be used as the z direction.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.text
text2D(x, y, s, fontdict=None, **kwargs)[source] Add text to the Axes. Add the text s to the Axes at location x, y in data coordinates. Parameters x, yfloat The position to place the text. By default, this is in data coordinates. The coordinate system can be changed using the transform parameter. sstr The t...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.text2D
text3D(x, y, z, s, zdir=None, **kwargs)[source] Add text to the plot. kwargs will be passed on to Axes.text, except for the zdir keyword, which sets the direction to be used as the z direction.
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.text3D
tick_params(axis='both', **kwargs)[source] Convenience method for changing the appearance of ticks and tick labels. See matplotlib.axes.Axes.tick_params() for more complete documentation. The only difference is that setting axis to 'both' will mean that the settings are applied to all three axes. Also, the axis param...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.tick_params
tricontour(*args, extend3d=False, stride=5, zdir='z', offset=None, data=None, **kwargs)[source] Create a 3D contour plot. Note This method currently produces incorrect output due to a longstanding bug in 3D PolyCollection rendering. Parameters X, Y, Zarray-like Input data. See tricontour for acceptable data s...
matplotlib._as_gen.mpl_toolkits.mplot3d.axes3d.axes3d#mpl_toolkits.mplot3d.axes3d.Axes3D.tricontour