doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
parse(s, dpi=72, prop=None, *, _force_standard_ps_fonts=False)[source] Parse the given math expression s at the given dpi. If prop is provided, it is a FontProperties object specifying the "default" font to use in the math expression, used for all non-math text. The results are cached, so multiple calls to parse with...
matplotlib.mathtext_api#matplotlib.mathtext.MathTextParser.parse
to_mask(texstr, dpi=120, fontsize=14)[source] [Deprecated] Convert a mathtext string to a grayscale array and depth. Parameters texstrstr A valid mathtext string, e.g., r'IQ: $sigma_i=15$'. dpifloat The dots-per-inch setting used to render the text. fontsizeint The font size in points Returns arra...
matplotlib.mathtext_api#matplotlib.mathtext.MathTextParser.to_mask
to_png(filename, texstr, color='black', dpi=120, fontsize=14)[source] [Deprecated] Render a tex expression to a PNG file. Parameters filename A writable filename or fileobject. texstrstr A valid mathtext string, e.g., r'IQ: $sigma_i=15$'. colorcolor The text color. dpifloat The dots-per-inch setting u...
matplotlib.mathtext_api#matplotlib.mathtext.MathTextParser.to_png
to_rgba(texstr, color='black', dpi=120, fontsize=14)[source] [Deprecated] Convert a mathtext string to an RGBA array and depth. Parameters texstrstr A valid mathtext string, e.g., r'IQ: $sigma_i=15$'. colorcolor The text color. dpifloat The dots-per-inch setting used to render the text. fontsizeint ...
matplotlib.mathtext_api#matplotlib.mathtext.MathTextParser.to_rgba
exceptionmatplotlib.mathtext.MathTextWarning[source] Bases: Warning
matplotlib.mathtext_api#matplotlib.mathtext.MathTextWarning
matplotlib.mathtext.ship(ox, oy, box)[source] [Deprecated] Notes Deprecated since version 3.4:
matplotlib.mathtext_api#matplotlib.mathtext.ship
matplotlib Backend management matplotlib.use(backend, *, force=True)[source] Select the backend used for rendering and GUI integration. Parameters backendstr The backend to switch to. This can either be one of the standard backend names, which are case-insensitive: interactive backends: GTK3Agg, GTK3Cairo, ...
matplotlib_configuration_api
matplotlib.matplotlib_fname()[source] Get the location of the config file. The file location is determined in the following order $PWD/matplotlibrc $MATPLOTLIBRC if it is not a directory $MATPLOTLIBRC/matplotlibrc $MPLCONFIGDIR/matplotlibrc On Linux, $XDG_CONFIG_HOME/matplotlib/matplotlibrc (if $XDG_CONFIG_HOM...
matplotlib_configuration_api#matplotlib.matplotlib_fname
matplotlib.mlab Numerical Python functions written for compatibility with MATLAB commands with the same names. Most numerical Python functions can be found in the NumPy and SciPy libraries. What remains here is code for performing spectral computations and kernel density estimations. Spectral functions cohere Cohere...
matplotlib.mlab_api
matplotlib.mlab.angle_spectrum(x, Fs=None, window=None, pad_to=None, sides=None) Compute the angle of the frequency spectrum (wrapped phase spectrum) of x. Data is padded to a length of pad_to and the windowing function window is applied to the signal. Parameters x1-D array or sequence Array or sequence contain...
matplotlib.mlab_api#matplotlib.mlab.angle_spectrum
matplotlib.mlab.cohere(x, y, NFFT=256, Fs=2, detrend=<function detrend_none>, window=<function window_hanning>, noverlap=0, pad_to=None, sides='default', scale_by_freq=None)[source] The coherence between x and y. Coherence is the normalized cross spectral density: \[C_{xy} = \frac{|P_{xy}|^2}{P_{xx}P_{yy}}\] Parame...
matplotlib.mlab_api#matplotlib.mlab.cohere
matplotlib.mlab.complex_spectrum(x, Fs=None, window=None, pad_to=None, sides=None) Compute the complex-valued frequency spectrum of x. Data is padded to a length of pad_to and the windowing function window is applied to the signal. Parameters x1-D array or sequence Array or sequence containing the data Fsfloa...
matplotlib.mlab_api#matplotlib.mlab.complex_spectrum
matplotlib.mlab.csd(x, y, NFFT=None, Fs=None, detrend=None, window=None, noverlap=None, pad_to=None, sides=None, scale_by_freq=None)[source] Compute the cross-spectral density. The cross spectral density \(P_{xy}\) by Welch's average periodogram method. The vectors x and y are divided into NFFT length segments. Each ...
matplotlib.mlab_api#matplotlib.mlab.csd
matplotlib.mlab.detrend(x, key=None, axis=None)[source] Return x with its trend removed. Parameters xarray or sequence Array or sequence containing the data. key{'default', 'constant', 'mean', 'linear', 'none'} or function The detrending algorithm to use. 'default', 'mean', and 'constant' are the same as de...
matplotlib.mlab_api#matplotlib.mlab.detrend
matplotlib.mlab.detrend_linear(y)[source] Return x minus best fit line; 'linear' detrending. Parameters y0-D or 1-D array or sequence Array or sequence containing the data See also detrend_mean Another detrend algorithm. detrend_none Another detrend algorithm. detrend A wrapper around all the detrend...
matplotlib.mlab_api#matplotlib.mlab.detrend_linear
matplotlib.mlab.detrend_mean(x, axis=None)[source] Return x minus the mean(x). Parameters xarray or sequence Array or sequence containing the data Can have any dimensionality axisint The axis along which to take the mean. See numpy.mean for a description of this argument. See also detrend_linear Anot...
matplotlib.mlab_api#matplotlib.mlab.detrend_mean
matplotlib.mlab.detrend_none(x, axis=None)[source] Return x: no detrending. Parameters xany object An object containing the data axisint This parameter is ignored. It is included for compatibility with detrend_mean See also detrend_mean Another detrend algorithm. detrend_linear Another detrend algo...
matplotlib.mlab_api#matplotlib.mlab.detrend_none
classmatplotlib.mlab.GaussianKDE(dataset, bw_method=None)[source] Bases: object Representation of a kernel-density estimate using Gaussian kernels. Parameters datasetarray-like Datapoints to estimate from. In case of univariate data this is a 1-D array, otherwise a 2D array with shape (# of dims, # of data). ...
matplotlib.mlab_api#matplotlib.mlab.GaussianKDE
covariance_factor()[source]
matplotlib.mlab_api#matplotlib.mlab.GaussianKDE.covariance_factor
evaluate(points)[source] Evaluate the estimated pdf on a set of points. Parameters points(# of dimensions, # of points)-array Alternatively, a (# of dimensions,) vector can be passed in and treated as a single point. Returns (# of points,)-array The values at each point. Raises ValueErrorif the dime...
matplotlib.mlab_api#matplotlib.mlab.GaussianKDE.evaluate
scotts_factor()[source]
matplotlib.mlab_api#matplotlib.mlab.GaussianKDE.scotts_factor
silverman_factor()[source]
matplotlib.mlab_api#matplotlib.mlab.GaussianKDE.silverman_factor
matplotlib.mlab.magnitude_spectrum(x, Fs=None, window=None, pad_to=None, sides=None) Compute the magnitude (absolute value) of the frequency spectrum of x. Data is padded to a length of pad_to and the windowing function window is applied to the signal. Parameters x1-D array or sequence Array or sequence contain...
matplotlib.mlab_api#matplotlib.mlab.magnitude_spectrum
matplotlib.mlab.phase_spectrum(x, Fs=None, window=None, pad_to=None, sides=None) Compute the phase of the frequency spectrum (unwrapped phase spectrum) of x. Data is padded to a length of pad_to and the windowing function window is applied to the signal. Parameters x1-D array or sequence Array or sequence conta...
matplotlib.mlab_api#matplotlib.mlab.phase_spectrum
matplotlib.mlab.psd(x, NFFT=None, Fs=None, detrend=None, window=None, noverlap=None, pad_to=None, sides=None, scale_by_freq=None)[source] Compute the power spectral density. The power spectral density \(P_{xx}\) by Welch's average periodogram method. The vector x is divided into NFFT length segments. Each segment is ...
matplotlib.mlab_api#matplotlib.mlab.psd
matplotlib.mlab.specgram(x, NFFT=None, Fs=None, detrend=None, window=None, noverlap=None, pad_to=None, sides=None, scale_by_freq=None, mode=None)[source] Compute a spectrogram. Compute and plot a spectrogram of data in x. Data are split into NFFT length segments and the spectrum of each section is computed. The windo...
matplotlib.mlab_api#matplotlib.mlab.specgram
matplotlib.mlab.stride_windows(x, n, noverlap=None, axis=0)[source] Get all windows of x with length n as a single array, using strides to avoid data duplication. Warning It is not safe to write to the output array. Multiple elements may point to the same piece of memory, so modifying one value may change others. ...
matplotlib.mlab_api#matplotlib.mlab.stride_windows
matplotlib.mlab.window_hanning(x)[source] Return x times the hanning window of len(x). See also window_none Another window algorithm.
matplotlib.mlab_api#matplotlib.mlab.window_hanning
matplotlib.mlab.window_none(x)[source] No window function; simply return x. See also window_hanning Another window algorithm.
matplotlib.mlab_api#matplotlib.mlab.window_none
mpl_toolkits.mplot3d The mplot3d toolkit adds simple 3D plotting capabilities (scatter, surface, line, mesh, etc.) to Matplotlib by supplying an Axes object that can create a 2D projection of a 3D scene. The resulting graph will have the same look and feel as regular 2D plots. Not the fastest or most feature complete 3...
matplotlib.toolkits.mplot3d
mpl_toolkits.mplot3d.art3d.get_dir_vector mpl_toolkits.mplot3d.art3d.get_dir_vector(zdir)[source] Return a direction vector. Parameters zdir{'x', 'y', 'z', None, 3-tuple} The direction. Possible values are: 'x': equivalent to (1, 0, 0) 'y': equivalent to (0, 1, 0) 'z': equivalent to (0, 0, 1) None: equivale...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.get_dir_vector
mpl_toolkits.mplot3d.art3d.juggle_axes mpl_toolkits.mplot3d.art3d.juggle_axes(xs, ys, zs, zdir)[source] Reorder coordinates so that 2D xs, ys can be plotted in the plane orthogonal to zdir. zdir is normally x, y or z. However, if zdir starts with a '-' it is interpreted as a compensation for rotate_axes.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.juggle_axes
mpl_toolkits.mplot3d.art3d.Line3D classmpl_toolkits.mplot3d.art3d.Line3D(xs, ys, zs, *args, **kwargs)[source] Bases: matplotlib.lines.Line2D 3D line object. Keyword arguments are passed onto Line2D(). draw(renderer)[source] Draw the Artist (and its children) using the given renderer. This has no effect if the a...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3d
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.art3d.line3d#mpl_toolkits.mplot3d.art3d.Line3D.draw
get_data_3d()[source] Get the current data Returns verts3dlength-3 tuple or array-like The current data as a tuple or array-like.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3d#mpl_toolkits.mplot3d.art3d.Line3D.get_data_3d
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, dash_capstyle=<UNSET>, dash_joinstyle=<UNSET>, dashes=<UNSET>, data=<UNSET>, data_3d=<UNSET>, drawstyle=<UNSET>, fillstyle=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3d#mpl_toolkits.mplot3d.art3d.Line3D.set
set_3d_properties(zs=0, zdir='z')[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3d#mpl_toolkits.mplot3d.art3d.Line3D.set_3d_properties
set_data_3d(*args)[source] Set the x, y and z data Parameters xarray-like The x-data to be plotted. yarray-like The y-data to be plotted. zarray-like The z-data to be plotted. Notes Accepts x, y, z arguments or a single array-like (x, y, z)
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3d#mpl_toolkits.mplot3d.art3d.Line3D.set_data_3d
mpl_toolkits.mplot3d.art3d.Line3DCollection classmpl_toolkits.mplot3d.art3d.Line3DCollection(segments, *args, zorder=2, **kwargs)[source] Bases: matplotlib.collections.LineCollection A collection of 3D lines. Parameters segmentslist of array-like A sequence of (line0, line1, line2), where: linen = (x0, y0), (...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3dcollection
do_3d_projection(renderer=<deprecated parameter>)[source] Project the points according to renderer matrix.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3dcollection#mpl_toolkits.mplot3d.art3d.Line3DCollection.do_3d_projection
draw(renderer, project=<deprecated parameter>)[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.art3d.line3dcollection#mpl_toolkits.mplot3d.art3d.Line3DCollection.draw
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, colors=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyl...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3dcollection#mpl_toolkits.mplot3d.art3d.Line3DCollection.set
set_segments(segments)[source] Set 3D segments.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3dcollection#mpl_toolkits.mplot3d.art3d.Line3DCollection.set_segments
set_sort_zpos(val)[source] Set the position to use for z-sorting.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line3dcollection#mpl_toolkits.mplot3d.art3d.Line3DCollection.set_sort_zpos
mpl_toolkits.mplot3d.art3d.line_2d_to_3d mpl_toolkits.mplot3d.art3d.line_2d_to_3d(line, zs=0, zdir='z')[source] Convert a 2D line to 3D.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line_2d_to_3d
mpl_toolkits.mplot3d.art3d.line_collection_2d_to_3d mpl_toolkits.mplot3d.art3d.line_collection_2d_to_3d(col, zs=0, zdir='z')[source] Convert a LineCollection to a Line3DCollection object.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.line_collection_2d_to_3d
mpl_toolkits.mplot3d.art3d.Patch3D classmpl_toolkits.mplot3d.art3d.Patch3D(*args, zs=(), zdir='z', **kwargs)[source] Bases: matplotlib.patches.Patch 3D patch object. The following kwarg properties are supported Property Description agg_filter a filter function, which takes a (m, n, 3) float array and a dpi va...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3d
do_3d_projection(renderer=<deprecated parameter>)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3d#mpl_toolkits.mplot3d.art3d.Patch3D.do_3d_projection
get_path()[source] Return the path of this patch.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3d#mpl_toolkits.mplot3d.art3d.Patch3D.get_path
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3d#mpl_toolkits.mplot3d.art3d.Patch3D.set
set_3d_properties(verts, zs=0, zdir='z')[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3d#mpl_toolkits.mplot3d.art3d.Patch3D.set_3d_properties
mpl_toolkits.mplot3d.art3d.Patch3DCollection classmpl_toolkits.mplot3d.art3d.Patch3DCollection(*args, zs=0, zdir='z', depthshade=True, **kwargs)[source] Bases: matplotlib.collections.PatchCollection A collection of 3D patches. Create a collection of flat 3D patches with its normal vector pointed in zdir direction, ...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection
do_3d_projection(renderer=<deprecated parameter>)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.do_3d_projection
get_depthshade()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.get_depthshade
get_edgecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.get_edgecolor
get_facecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.get_facecolor
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, depthshade=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, join...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.set
set_3d_properties(zs, zdir)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.set_3d_properties
set_depthshade(depthshade)[source] Set whether depth shading is performed on collection members. Parameters depthshadebool Whether to shade the patches in order to give the appearance of depth.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.set_depthshade
set_sort_zpos(val)[source] Set the position to use for z-sorting.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch3dcollection#mpl_toolkits.mplot3d.art3d.Patch3DCollection.set_sort_zpos
mpl_toolkits.mplot3d.art3d.patch_2d_to_3d mpl_toolkits.mplot3d.art3d.patch_2d_to_3d(patch, z=0, zdir='z')[source] Convert a Patch to a Patch3D object.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch_2d_to_3d
mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d(col, zs=0, zdir='z', depthshade=True)[source] Convert a PatchCollection into a Patch3DCollection object (or a PathCollection into a Path3DCollection object). Parameters za The location or locations to place...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d
mpl_toolkits.mplot3d.art3d.Path3DCollection classmpl_toolkits.mplot3d.art3d.Path3DCollection(*args, zs=0, zdir='z', depthshade=True, **kwargs)[source] Bases: matplotlib.collections.PathCollection A collection of 3D paths. Create a collection of flat 3D paths with its normal vector pointed in zdir direction, and loc...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection
do_3d_projection(renderer=<deprecated parameter>)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.do_3d_projection
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.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.draw
get_depthshade()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.get_depthshade
get_edgecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.get_edgecolor
get_facecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.get_facecolor
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, depthshade=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, join...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set
set_3d_properties(zs, zdir)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set_3d_properties
set_depthshade(depthshade)[source] Set whether depth shading is performed on collection members. Parameters depthshadebool Whether to shade the patches in order to give the appearance of depth.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set_depthshade
set_linewidth(lw)[source] Set the linewidth(s) for the collection. lw can be a scalar or a sequence; if it is a sequence the patches will cycle through the sequence Parameters lwfloat or list of floats
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set_linewidth
set_sizes(sizes, dpi=72.0)[source] Set the sizes of each member of the collection. Parameters sizesndarray or None The size to set for each element of the collection. The value is the 'area' of the element. dpifloat, default: 72 The dpi of the canvas.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set_sizes
set_sort_zpos(val)[source] Set the position to use for z-sorting.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.path3dcollection#mpl_toolkits.mplot3d.art3d.Path3DCollection.set_sort_zpos
mpl_toolkits.mplot3d.art3d.PathPatch3D classmpl_toolkits.mplot3d.art3d.PathPatch3D(path, *, zs=(), zdir='z', **kwargs)[source] Bases: mpl_toolkits.mplot3d.art3d.Patch3D 3D PathPatch object. The following kwarg properties are supported Property Description agg_filter a filter function, which takes a (m, n, 3) ...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.pathpatch3d
do_3d_projection(renderer=<deprecated parameter>)[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.pathpatch3d#mpl_toolkits.mplot3d.art3d.PathPatch3D.do_3d_projection
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.pathpatch3d#mpl_toolkits.mplot3d.art3d.PathPatch3D.set
set_3d_properties(path, zs=0, zdir='z')[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.pathpatch3d#mpl_toolkits.mplot3d.art3d.PathPatch3D.set_3d_properties
mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d(pathpatch, z=0, zdir='z')[source] Convert a PathPatch to a PathPatch3D object. Examples using mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d Draw flat objects in 3D plot
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d
mpl_toolkits.mplot3d.art3d.Poly3DCollection classmpl_toolkits.mplot3d.art3d.Poly3DCollection(verts, *args, zsort='average', **kwargs)[source] Bases: matplotlib.collections.PolyCollection A collection of 3D polygons. Note Filling of 3D polygons There is no simple definition of the enclosed surface of a 3D polygon u...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection
do_3d_projection(renderer=<deprecated parameter>)[source] Perform the 3D projection for this object.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.do_3d_projection
get_edgecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.get_edgecolor
get_facecolor()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.get_facecolor
get_vector(segments3d)[source] Optimize points for projection.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.get_vector
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set
set_3d_properties()[source]
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_3d_properties
set_alpha(alpha)[source] Set the alpha value used for blending - not supported on all backends. Parameters alphaarray-like or scalar or None All values must be within the 0-1 range, inclusive. Masked values and nans are not supported.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_alpha
set_edgecolor(colors)[source] Set the edgecolor(s) of the collection. Parameters ccolor or list of colors or 'face' The collection edgecolor(s). If a sequence, the patches cycle through it. If 'face', match the facecolor.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_edgecolor
set_facecolor(colors)[source] Set the facecolor(s) of the collection. c can be a color (all patches have same color), or a sequence of colors; if it is a sequence the patches will cycle through the sequence. If c is 'none', the patch will not be filled. Parameters ccolor or list of colors
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_facecolor
set_sort_zpos(val)[source] Set the position to use for z-sorting.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_sort_zpos
set_verts(verts, closed=True)[source] Set 3D vertices.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_verts
set_verts_and_codes(verts, codes)[source] Set 3D vertices with path codes.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_verts_and_codes
set_zsort(zsort)[source] Set the calculation method for the z-order. Parameters zsort{'average', 'min', 'max'} The function applied on the z-coordinates of the vertices in the viewer's coordinate system, to determine the z-order.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly3dcollection#mpl_toolkits.mplot3d.art3d.Poly3DCollection.set_zsort
mpl_toolkits.mplot3d.art3d.poly_collection_2d_to_3d mpl_toolkits.mplot3d.art3d.poly_collection_2d_to_3d(col, zs=0, zdir='z')[source] Convert a PolyCollection to a Poly3DCollection object.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.poly_collection_2d_to_3d
mpl_toolkits.mplot3d.art3d.rotate_axes mpl_toolkits.mplot3d.art3d.rotate_axes(xs, ys, zs, zdir)[source] Reorder coordinates so that the axes are rotated with zdir along the original z axis. Prepending the axis with a '-' does the inverse transform, so zdir can be x, -x, y, -y, z or -z
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.rotate_axes
mpl_toolkits.mplot3d.art3d.Text3D classmpl_toolkits.mplot3d.art3d.Text3D(x=0, y=0, z=0, text='', zdir='z', **kwargs)[source] Bases: matplotlib.text.Text Text object with 3D position and direction. Parameters x, y, z The position of the text. textstr The text string to display. zdir{'x', 'y', 'z', None, 3-...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d
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.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.draw
get_position_3d()[source] Return the (x, y, z) position of the text.
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.get_position_3d
get_tightbbox(renderer)[source] Like Artist.get_window_extent, but includes any clipping. Parameters rendererRendererBase subclass renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer()) Returns Bbox The enclosing bounding box (in figure pixel coordinates).
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.get_tightbbox
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, backgroundcolor=<UNSET>, bbox=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, fontfamily=<UNSET>, fontproperties=<UNSET>, fontsize=<UNSET>, fontstretch=<UNSET>, fontstyle=<UNSET>, fontvariant=<UNSET>, fontweight=<UNSET>, gid=<UNSE...
matplotlib._as_gen.mpl_toolkits.mplot3d.art3d.text3d#mpl_toolkits.mplot3d.art3d.Text3D.set