doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
matplotlib.pyplot.xlim matplotlib.pyplot.xlim(*args, **kwargs)[source]
Get or set the x limits of the current axes. Call signatures: left, right = xlim() # return the current xlim
xlim((left, right)) # set the xlim to left, right
xlim(left, right) # set the xlim to left, right
If you do not specify args, yo... | matplotlib._as_gen.matplotlib.pyplot.xlim |
matplotlib.pyplot.xscale matplotlib.pyplot.xscale(value, **kwargs)[source]
Set the x-axis scale. Parameters
value{"linear", "log", "symlog", "logit", ...} or ScaleBase
The axis scale type to apply. **kwargs
Different keyword arguments are accepted, depending on the scale. See the respective class keyword ar... | matplotlib._as_gen.matplotlib.pyplot.xscale |
matplotlib.pyplot.xticks matplotlib.pyplot.xticks(ticks=None, labels=None, **kwargs)[source]
Get or set the current tick locations and labels of the x-axis. Pass no arguments to return the current values without modifying them. Parameters
ticksarray-like, optional
The list of xtick locations. Passing an empty... | matplotlib._as_gen.matplotlib.pyplot.xticks |
matplotlib.pyplot.ylabel matplotlib.pyplot.ylabel(ylabel, fontdict=None, labelpad=None, *, loc=None, **kwargs)[source]
Set the label for the y-axis. Parameters
ylabelstr
The label text.
labelpadfloat, default: rcParams["axes.labelpad"] (default: 4.0)
Spacing in points from the Axes bounding box including ... | matplotlib._as_gen.matplotlib.pyplot.ylabel |
matplotlib.pyplot.ylim matplotlib.pyplot.ylim(*args, **kwargs)[source]
Get or set the y-limits of the current axes. Call signatures: bottom, top = ylim() # return the current ylim
ylim((bottom, top)) # set the ylim to bottom, top
ylim(bottom, top) # set the ylim to bottom, top
If you do not specify args, yo... | matplotlib._as_gen.matplotlib.pyplot.ylim |
matplotlib.pyplot.yscale matplotlib.pyplot.yscale(value, **kwargs)[source]
Set the y-axis scale. Parameters
value{"linear", "log", "symlog", "logit", ...} or ScaleBase
The axis scale type to apply. **kwargs
Different keyword arguments are accepted, depending on the scale. See the respective class keyword ar... | matplotlib._as_gen.matplotlib.pyplot.yscale |
matplotlib.pyplot.yticks matplotlib.pyplot.yticks(ticks=None, labels=None, **kwargs)[source]
Get or set the current tick locations and labels of the y-axis. Pass no arguments to return the current values without modifying them. Parameters
ticksarray-like, optional
The list of ytick locations. Passing an empty... | matplotlib._as_gen.matplotlib.pyplot.yticks |
matplotlib.quiver Support for plotting vector fields. Presently this contains Quiver and Barb. Quiver plots an arrow in the direction of the vector, with the size of the arrow related to the magnitude of the vector. Barbs are like quiver in that they point along a vector, but the magnitude of the vector is given schema... | matplotlib.quiver_api |
matplotlib.quiver.Barbs classmatplotlib.quiver.Barbs(ax, *args, pivot='tip', length=7, barbcolor=None, flagcolor=None, sizes=None, fill_empty=False, barb_increments=None, rounding=True, flip_barb=False, **kw)[source]
Bases: matplotlib.collections.PolyCollection Specialized PolyCollection for barbs. The only API met... | matplotlib._as_gen.matplotlib.quiver.barbs |
barbs_doc='\nPlot a 2D field of barbs.\n\nCall signature::\n\n barbs([X, Y], U, V, [C], **kw)\n\nWhere *X*, *Y* define the barb locations, *U*, *V* define the barb\ndirections, and *C* optionally sets the color.\n\nAll arguments may be 1D or 2D. *U*, *V*, *C* may be masked arrays, but masked\n*X*, *Y* are not supported... | matplotlib._as_gen.matplotlib.quiver.barbs#matplotlib.quiver.Barbs.barbs_doc |
set(*, UVC=<UNSET>, 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=<... | matplotlib._as_gen.matplotlib.quiver.barbs#matplotlib.quiver.Barbs.set |
set_offsets(xy)[source]
Set the offsets for the barb polygons. This saves the offsets passed in and masks them as appropriate for the existing U/V data. Parameters
xysequence of pairs of floats | matplotlib._as_gen.matplotlib.quiver.barbs#matplotlib.quiver.Barbs.set_offsets |
set_UVC(U, V, C=None)[source] | matplotlib._as_gen.matplotlib.quiver.barbs#matplotlib.quiver.Barbs.set_UVC |
matplotlib.quiver.Quiver classmatplotlib.quiver.Quiver(ax, *args, scale=None, headwidth=3, headlength=5, headaxislength=4.5, minshaft=1, minlength=1, units='width', scale_units=None, angles='uv', width=None, color='k', pivot='tail', **kw)[source]
Bases: matplotlib.collections.PolyCollection Specialized PolyCollecti... | matplotlib._as_gen.matplotlib.quiver.quiver |
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.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.draw |
get_datalim(transData)[source] | matplotlib._as_gen.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.get_datalim |
quiver_doc="\nPlot a 2D field of arrows.\n\nCall signature::\n\n quiver([X, Y], U, V, [C], **kw)\n\n*X*, *Y* define the arrow locations, *U*, *V* define the arrow directions, and\n*C* optionally sets the color.\n\nEach arrow is internally represented by a filled polygon with a default edge\nlinewidth of 0. As a result,... | matplotlib._as_gen.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.quiver_doc |
remove()[source]
Remove the artist from the figure if possible. The effect will not be visible until the figure is redrawn, e.g., with FigureCanvasBase.draw_idle. Call relim to update the axes limits if desired. Note: relim will not see collections even if the collection was added to the axes with autolim = True. Not... | matplotlib._as_gen.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.remove |
set(*, UVC=<UNSET>, 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=<... | matplotlib._as_gen.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.set |
set_UVC(U, V, C=None)[source] | matplotlib._as_gen.matplotlib.quiver.quiver#matplotlib.quiver.Quiver.set_UVC |
matplotlib.quiver.QuiverKey classmatplotlib.quiver.QuiverKey(Q, X, Y, U, label, *, angle=0, coordinates='axes', color=None, labelsep=0.1, labelpos='N', labelcolor=None, fontproperties=None, **kw)[source]
Bases: matplotlib.artist.Artist Labelled arrow for use as a quiver plot scale key. Add a key to a quiver plot. T... | matplotlib._as_gen.matplotlib.quiver.quiverkey |
contains(mouseevent)[source]
Test whether the artist contains the mouse event. Parameters
mouseeventmatplotlib.backend_bases.MouseEvent
Returns
containsbool
Whether any values are within the radius.
detailsdict
An artist-specific dictionary of details of the event context, such as which points are con... | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.contains |
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.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.draw |
halign={'E': 'left', 'N': 'center', 'S': 'center', 'W': 'right'} | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.halign |
pivot={'E': 'tip', 'N': 'middle', 'S': 'middle', 'W': 'tail'} | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.pivot |
remove()[source]
Remove the artist from the figure if possible. The effect will not be visible until the figure is redrawn, e.g., with FigureCanvasBase.draw_idle. Call relim to update the axes limits if desired. Note: relim will not see collections even if the collection was added to the axes with autolim = True. Not... | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.remove |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)... | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.set |
set_figure(fig)[source]
Set the Figure instance the artist belongs to. Parameters
figFigure | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.set_figure |
valign={'E': 'center', 'N': 'bottom', 'S': 'top', 'W': 'center'} | matplotlib._as_gen.matplotlib.quiver.quiverkey#matplotlib.quiver.QuiverKey.valign |
matplotlib.rc(group, **kwargs)[source]
Set the current rcParams. group is the grouping for the rc, e.g., for lines.linewidth the group is lines, for axes.facecolor, the group is axes, and so on. Group may also be a list or tuple of group names, e.g., (xtick, ytick). kwargs is a dictionary attribute name/value pairs, ... | matplotlib_configuration_api#matplotlib.rc |
matplotlib.rc_context(rc=None, fname=None)
Return a context manager for temporarily changing rcParams. Parameters
rcdict
The rcParams to temporarily set.
fnamestr or path-like
A file with Matplotlib rc settings. If both fname and rc are given, settings from rc take precedence. See also The matplotlibr... | matplotlib_configuration_api#matplotlib.rc_context |
matplotlib.rc_file(fname, *, use_default_template=True)[source]
Update rcParams from file. Style-blacklisted rcParams (defined in matplotlib.style.core.STYLE_BLACKLIST) are not updated. Parameters
fnamestr or path-like
A file with Matplotlib rc settings.
use_default_templatebool
If True, initialize with def... | matplotlib_configuration_api#matplotlib.rc_file |
matplotlib.rc_file_defaults()[source]
Restore the rcParams from the original rc file loaded by Matplotlib. Style-blacklisted rcParams (defined in matplotlib.style.core.STYLE_BLACKLIST) are not updated. | matplotlib_configuration_api#matplotlib.rc_file_defaults |
matplotlib.rc_params(fail_on_error=False)[source]
Construct a RcParams instance from the default Matplotlib rc file. | matplotlib_configuration_api#matplotlib.rc_params |
matplotlib.rc_params_from_file(fname, fail_on_error=False, use_default_template=True)[source]
Construct a RcParams from file fname. Parameters
fnamestr or path-like
A file with Matplotlib rc settings.
fail_on_errorbool
If True, raise an error when the parser fails to convert a parameter.
use_default_templ... | matplotlib_configuration_api#matplotlib.rc_params_from_file |
matplotlib.rcdefaults()[source]
Restore the rcParams from Matplotlib's internal default style. Style-blacklisted rcParams (defined in matplotlib.style.core.STYLE_BLACKLIST) are not updated. See also matplotlib.rc_file_defaults
Restore the rcParams from the rc file originally loaded by Matplotlib. matplotlib.style... | matplotlib_configuration_api#matplotlib.rcdefaults |
matplotlib.rcParams[source]
An instance of RcParams for handling default Matplotlib values. | matplotlib_configuration_api#matplotlib.rcParams |
classmatplotlib.RcParams(*args, **kwargs)[source]
A dictionary object including validation. Validating functions are defined and associated with rc parameters in matplotlib.rcsetup. The list of rcParams is: _internal.classic_mode agg.path.chunksize animation.bitrate animation.codec animation.convert_args animation.c... | matplotlib_configuration_api#matplotlib.RcParams |
find_all(pattern)[source]
Return the subset of this RcParams dictionary whose keys match, using re.search(), the given pattern. Note Changes to the returned dictionary are not propagated to the parent RcParams dictionary. | matplotlib_configuration_api#matplotlib.RcParams.find_all |
matplotlib.rcsetup The rcsetup module contains the validation code for customization using Matplotlib's rc settings. Each rc setting is assigned a function used to validate any attempted changes to that setting. The validation functions are defined in the rcsetup module, and are used to construct the rcParams global ob... | matplotlib.rcsetup_api |
matplotlib.rcsetup.cycler(*args, **kwargs)[source]
Create a Cycler object much like cycler.cycler(), but includes input validation. Call signatures: cycler(cycler)
cycler(label=values[, label2=values2[, ...]])
cycler(label, values)
Form 1 copies a given Cycler object. Form 2 creates a Cycler which cycles over one or... | matplotlib.rcsetup_api#matplotlib.rcsetup.cycler |
matplotlib.rcsetup.validate_any(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_any |
matplotlib.rcsetup.validate_anylist(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_anylist |
matplotlib.rcsetup.validate_aspect(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_aspect |
matplotlib.rcsetup.validate_axisbelow(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_axisbelow |
matplotlib.rcsetup.validate_backend(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_backend |
matplotlib.rcsetup.validate_bbox(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_bbox |
matplotlib.rcsetup.validate_bool(b)[source]
Convert b to bool or raise. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_bool |
matplotlib.rcsetup.validate_color(s)[source]
Return a valid color arg. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_color |
matplotlib.rcsetup.validate_color_for_prop_cycle(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_color_for_prop_cycle |
matplotlib.rcsetup.validate_color_or_auto(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_color_or_auto |
matplotlib.rcsetup.validate_color_or_inherit(s)[source]
Return a valid color arg. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_color_or_inherit |
matplotlib.rcsetup.validate_colorlist(s)[source]
return a list of colorspecs | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_colorlist |
matplotlib.rcsetup.validate_cycler(s)[source]
Return a Cycler object from a string repr or the object itself. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_cycler |
matplotlib.rcsetup.validate_dashlist(s)[source]
return a list of floats | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_dashlist |
matplotlib.rcsetup.validate_dpi(s)[source]
Confirm s is string 'figure' or convert s to float or raise. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_dpi |
matplotlib.rcsetup.validate_fillstylelist(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fillstylelist |
matplotlib.rcsetup.validate_float(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_float |
matplotlib.rcsetup.validate_float_or_None(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_float_or_None |
matplotlib.rcsetup.validate_floatlist(s)[source]
return a list of floats | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_floatlist |
matplotlib.rcsetup.validate_font_properties(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_font_properties |
matplotlib.rcsetup.validate_fontsize(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fontsize |
matplotlib.rcsetup.validate_fontsize_None(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fontsize_None |
matplotlib.rcsetup.validate_fontsizelist(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fontsizelist |
matplotlib.rcsetup.validate_fonttype(s)[source]
Confirm that this is a Postscript or PDF font type that we know how to convert to. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fonttype |
matplotlib.rcsetup.validate_fontweight(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_fontweight |
matplotlib.rcsetup.validate_hatch(s)[source]
Validate a hatch pattern. A hatch pattern string can have any sequence of the following characters: \ / | - + * . x o O. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_hatch |
matplotlib.rcsetup.validate_hatchlist(s)[source]
Validate a hatch pattern. A hatch pattern string can have any sequence of the following characters: \ / | - + * . x o O. | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_hatchlist |
matplotlib.rcsetup.validate_hist_bins(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_hist_bins |
matplotlib.rcsetup.validate_int(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_int |
matplotlib.rcsetup.validate_int_or_None(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_int_or_None |
matplotlib.rcsetup.validate_markevery(s)[source]
Validate the markevery property of a Line2D object. Parameters
sNone, int, (int, int), slice, float, (float, float), or list[int]
Returns
None, int, (int, int), slice, float, (float, float), or list[int] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_markevery |
matplotlib.rcsetup.validate_markeverylist(s)[source]
Validate the markevery property of a Line2D object. Parameters
sNone, int, (int, int), slice, float, (float, float), or list[int]
Returns
None, int, (int, int), slice, float, (float, float), or list[int] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_markeverylist |
matplotlib.rcsetup.validate_ps_distiller(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_ps_distiller |
matplotlib.rcsetup.validate_sketch(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_sketch |
matplotlib.rcsetup.validate_string(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_string |
matplotlib.rcsetup.validate_string_or_None(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_string_or_None |
matplotlib.rcsetup.validate_stringlist(s)[source]
return a list of strings | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_stringlist |
matplotlib.rcsetup.validate_whiskers(s)[source] | matplotlib.rcsetup_api#matplotlib.rcsetup.validate_whiskers |
classmatplotlib.rcsetup.ValidateInStrings(key, valid, ignorecase=False, *, _deprecated_since=None)[source]
Bases: object valid is a list of legal strings. | matplotlib.rcsetup_api#matplotlib.rcsetup.ValidateInStrings |
matplotlib.sankey Module for creating Sankey diagrams using Matplotlib. classmatplotlib.sankey.Sankey(ax=None, scale=1.0, unit='', format='%G', gap=0.25, radius=0.1, shoulder=0.03, offset=0.15, head_angle=100, margin=0.4, tolerance=1e-06, **kwargs)[source]
Bases: object Sankey diagram. Sankey diagrams are a specifi... | matplotlib.sankey_api |
classmatplotlib.sankey.Sankey(ax=None, scale=1.0, unit='', format='%G', gap=0.25, radius=0.1, shoulder=0.03, offset=0.15, head_angle=100, margin=0.4, tolerance=1e-06, **kwargs)[source]
Bases: object Sankey diagram. Sankey diagrams are a specific type of flow diagram, in which the width of the arrows is shown proporti... | matplotlib.sankey_api#matplotlib.sankey.Sankey |
add(patchlabel='', flows=None, orientations=None, labels='', trunklength=1.0, pathlengths=0.25, prior=None, connect=(0, 0), rotation=0, **kwargs)[source]
Add a simple Sankey diagram with flows at the same hierarchical level. Parameters
patchlabelstr
Label to be placed at the center of the diagram. Note that lab... | matplotlib.sankey_api#matplotlib.sankey.Sankey.add |
finish()[source]
Adjust the axes and return a list of information about the Sankey subdiagram(s). Return value is a list of subdiagrams represented with the following fields:
Field Description
patch Sankey outline (an instance of PathPatch)
flows values of the flows (positive for input, negative for output) ... | matplotlib.sankey_api#matplotlib.sankey.Sankey.finish |
matplotlib.scale Scales define the distribution of data values on an axis, e.g. a log scaling. They are defined as subclasses of ScaleBase. See also axes.Axes.set_xscale and the scales examples in the documentation. See Custom scale for a full example of defining a custom scale. Matplotlib also supports non-separable t... | matplotlib.scale_api |
classmatplotlib.scale.FuncScale(axis, functions)[source]
Bases: matplotlib.scale.ScaleBase Provide an arbitrary scale with user-supplied function for the axis. Parameters
axisAxis
The axis for the scale.
functions(callable, callable)
two-tuple of the forward and inverse functions for the scale. The forward ... | matplotlib.scale_api#matplotlib.scale.FuncScale |
get_transform()[source]
Return the FuncTransform associated with this scale. | matplotlib.scale_api#matplotlib.scale.FuncScale.get_transform |
name='function' | matplotlib.scale_api#matplotlib.scale.FuncScale.name |
set_default_locators_and_formatters(axis)[source]
Set the locators and formatters of axis to instances suitable for this scale. | matplotlib.scale_api#matplotlib.scale.FuncScale.set_default_locators_and_formatters |
classmatplotlib.scale.FuncScaleLog(axis, functions, base=10)[source]
Bases: matplotlib.scale.LogScale Provide an arbitrary scale with user-supplied function for the axis and then put on a logarithmic axes. Parameters
axismatplotlib.axis.Axis
The axis for the scale.
functions(callable, callable)
two-tuple of... | matplotlib.scale_api#matplotlib.scale.FuncScaleLog |
get_transform()[source]
Return the Transform associated with this scale. | matplotlib.scale_api#matplotlib.scale.FuncScaleLog.get_transform |
name='functionlog' | matplotlib.scale_api#matplotlib.scale.FuncScaleLog.name |
classmatplotlib.scale.FuncTransform(forward, inverse)[source]
Bases: matplotlib.transforms.Transform A simple transform that takes and arbitrary function for the forward and inverse transform. Parameters
forwardcallable
The forward function for the transform. This function must have an inverse and, for best beh... | matplotlib.scale_api#matplotlib.scale.FuncTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.scale_api#matplotlib.scale.FuncTransform.has_inverse |
input_dims=1
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.scale_api#matplotlib.scale.FuncTransform.input_dims |
inverted()[source]
Return the corresponding inverse transformation. It holds x == self.inverted().transform(self.transform(x)). The return value of this method should be treated as temporary. An update to self does not cause a corresponding update to its inverted copy. | matplotlib.scale_api#matplotlib.scale.FuncTransform.inverted |
is_separable=True
True if this transform is separable in the x- and y- dimensions. | matplotlib.scale_api#matplotlib.scale.FuncTransform.is_separable |
output_dims=1
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.scale_api#matplotlib.scale.FuncTransform.output_dims |
transform_non_affine(values)[source]
Apply only the non-affine part of this transformation. transform(values) is always equivalent to transform_affine(transform_non_affine(values)). In non-affine transformations, this is generally equivalent to transform(values). In affine transformations, this is always a no-op. Pa... | matplotlib.scale_api#matplotlib.scale.FuncTransform.transform_non_affine |
matplotlib.scale.get_scale_names()[source]
Return the names of the available scales. | matplotlib.scale_api#matplotlib.scale.get_scale_names |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.