doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
transform_non_affine(xy)[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. Parame... | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.InvertedHammerTransform.transform_non_affine |
name='hammer' | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.name |
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, facecolor=<UNSET>, frame_... | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.set |
classmatplotlib.projections.geo.LambertAxes(*args, center_longitude=0, center_latitude=0, **kwargs)[source]
Bases: matplotlib.projections.geo.GeoAxes Build an Axes in a figure. Parameters
figFigure
The Axes is built in the Figure fig.
rect[left, bottom, width, height]
The Axes is built in the rectangle rect... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes |
cla()[source]
Clear the Axes. | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.cla |
classInvertedLambertTransform(center_longitude, center_latitude, resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform Create a new geographical transform. Resolution is the number of steps to interpolate between each input line segment to approximate its path in curved space. has_inverse=True
True ... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.InvertedLambertTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.InvertedLambertTransform.has_inverse |
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.projections_api#matplotlib.projections.geo.LambertAxes.InvertedLambertTransform.inverted |
transform_non_affine(xy)[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. Parame... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.InvertedLambertTransform.transform_non_affine |
classLambertTransform(center_longitude, center_latitude, resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform The base Lambert transform. Create a new Lambert transform. Resolution is the number of steps to interpolate between each input line segment to approximate its path in curved Lambert space. h... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.LambertTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.LambertTransform.has_inverse |
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.projections_api#matplotlib.projections.geo.LambertAxes.LambertTransform.inverted |
transform_non_affine(ll)[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. Parame... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.LambertTransform.transform_non_affine |
name='lambert' | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.name |
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, facecolor=<UNSET>, frame_... | matplotlib.projections_api#matplotlib.projections.geo.LambertAxes.set |
classmatplotlib.projections.geo.MollweideAxes(*args, **kwargs)[source]
Bases: matplotlib.projections.geo.GeoAxes Build an Axes in a figure. Parameters
figFigure
The Axes is built in the Figure fig.
rect[left, bottom, width, height]
The Axes is built in the rectangle rect. rect is in Figure coordinates.
sh... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes |
classInvertedMollweideTransform(resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform Create a new geographical transform. Resolution is the number of steps to interpolate between each input line segment to approximate its path in curved space. has_inverse=True
True if this transform has a correspon... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform.has_inverse |
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.projections_api#matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform.inverted |
transform_non_affine(xy)[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. Parame... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform.transform_non_affine |
classMollweideTransform(resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform The base Mollweide transform. Create a new geographical transform. Resolution is the number of steps to interpolate between each input line segment to approximate its path in curved space. has_inverse=True
True if this tra... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.MollweideTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.MollweideTransform.has_inverse |
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.projections_api#matplotlib.projections.geo.MollweideAxes.MollweideTransform.inverted |
transform_non_affine(ll)[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. Parame... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.MollweideTransform.transform_non_affine |
name='mollweide' | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.name |
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, facecolor=<UNSET>, frame_... | matplotlib.projections_api#matplotlib.projections.geo.MollweideAxes.set |
matplotlib.projections.get_projection_class(projection=None)[source]
Get a projection class from its name. If projection is None, a standard rectilinear projection is returned. | matplotlib.projections_api#matplotlib.projections.get_projection_class |
matplotlib.projections.get_projection_names()[source]
Return the names of all projections currently registered. | matplotlib.projections_api#matplotlib.projections.get_projection_names |
classmatplotlib.projections.polar.InvertedPolarTransform(axis=None, use_rmin=True, _apply_theta_transforms=True)[source]
Bases: matplotlib.transforms.Transform The inverse of the polar transform, mapping Cartesian coordinate space x and y back to theta and r. Parameters
shorthand_namestr
A string representing t... | matplotlib.projections_api#matplotlib.projections.polar.InvertedPolarTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.polar.InvertedPolarTransform.has_inverse |
input_dims=2
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.InvertedPolarTransform.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.projections_api#matplotlib.projections.polar.InvertedPolarTransform.inverted |
output_dims=2
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.InvertedPolarTransform.output_dims |
transform_non_affine(xy)[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. Parame... | matplotlib.projections_api#matplotlib.projections.polar.InvertedPolarTransform.transform_non_affine |
classmatplotlib.projections.polar.PolarAffine(scale_transform, limits)[source]
Bases: matplotlib.transforms.Affine2DBase The affine part of the polar projection. Scales the output so that maximum radius rests on the edge of the axes circle. limits is the view limit of the data. The only part of its bounds that is use... | matplotlib.projections_api#matplotlib.projections.polar.PolarAffine |
get_matrix()[source]
Get the matrix for the affine part of this transform. | matplotlib.projections_api#matplotlib.projections.polar.PolarAffine.get_matrix |
classmatplotlib.projections.polar.PolarAxes(*args, theta_offset=0, theta_direction=1, rlabel_position=22.5, **kwargs)[source]
Bases: matplotlib.axes._axes.Axes A polar graph projection, where the input dimensions are theta, r. Theta starts pointing east and goes anti-clockwise. Build an Axes in a figure. Parameters ... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes |
can_pan()[source]
Return whether this axes supports the pan/zoom button functionality. For polar axes, this is slightly misleading. Both panning and zooming are performed by the same button. Panning is performed in azimuth while zooming is done along the radial. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.can_pan |
can_zoom()[source]
Return whether this axes supports the zoom box button functionality. Polar axes do not support zoom boxes. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.can_zoom |
cla()[source]
Clear the Axes. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.cla |
drag_pan(button, key, x, y)[source]
Called when the mouse moves during a pan operation. Parameters
buttonMouseButton
The pressed mouse button.
keystr or None
The pressed key, if any.
x, yfloat
The mouse coordinates in display coords. Notes This is intended to be overridden by new projection types. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.drag_pan |
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.projections_api#matplotlib.projections.polar.PolarAxes.draw |
end_pan()[source]
Called when a pan operation completes (when the mouse button is up.) Notes This is intended to be overridden by new projection types. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.end_pan |
format_coord(theta, r)[source]
Return a format string formatting the x, y coordinates. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.format_coord |
get_data_ratio()[source]
Return the aspect ratio of the data itself. For a polar plot, this should always be 1.0 | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_data_ratio |
get_rlabel_position()[source]
Returns
float
The theta position of the radius labels in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_rlabel_position |
get_rmax()[source]
Returns
float
Outer radial limit. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_rmax |
get_rmin()[source]
Returns
float
The inner radial limit. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_rmin |
get_rorigin()[source]
Returns
float | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_rorigin |
get_rsign()[source] | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_rsign |
get_theta_direction()[source]
Get the direction in which theta increases. -1:
Theta increases in the clockwise direction 1:
Theta increases in the counterclockwise direction | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_theta_direction |
get_theta_offset()[source]
Get the offset for the location of 0 in radians. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_theta_offset |
get_thetamax()[source]
Return the maximum theta limit in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_thetamax |
get_thetamin()[source]
Get the minimum theta limit in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_thetamin |
get_xaxis_text1_transform(pad)[source]
Returns
transformTransform
The transform used for drawing x-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in data coordinates and the y-direction is in axis coordinates
valign{'center', 'top', 'bottom', '... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_xaxis_text1_transform |
get_xaxis_text2_transform(pad)[source]
Returns
transformTransform
The transform used for drawing secondary x-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in data coordinates and the y-direction is in axis coordinates
valign{'center', 'top', '... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_xaxis_text2_transform |
get_xaxis_transform(which='grid')[source]
Get the transformation used for drawing x-axis labels, ticks and gridlines. The x-direction is in data coordinates and the y-direction is in axis coordinates. Note This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projecti... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_xaxis_transform |
get_yaxis_text1_transform(pad)[source]
Returns
transformTransform
The transform used for drawing y-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in axis coordinates and the y-direction is in data coordinates
valign{'center', 'top', 'bottom', '... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_yaxis_text1_transform |
get_yaxis_text2_transform(pad)[source]
Returns
transformTransform
The transform used for drawing secondart y-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in axis coordinates and the y-direction is in data coordinates
valign{'center', 'top', '... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_yaxis_text2_transform |
get_yaxis_transform(which='grid')[source]
Get the transformation used for drawing y-axis labels, ticks and gridlines. The x-direction is in axis coordinates and the y-direction is in data coordinates. Note This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projecti... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.get_yaxis_transform |
classInvertedPolarTransform(axis=None, use_rmin=True, _apply_theta_transforms=True)[source]
Bases: matplotlib.transforms.Transform The inverse of the polar transform, mapping Cartesian coordinate space x and y back to theta and r. Parameters
shorthand_namestr
A string representing the "name" of the transform. T... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.has_inverse |
input_dims=2
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.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.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.inverted |
output_dims=2
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.output_dims |
transform_non_affine(xy)[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. Parame... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.transform_non_affine |
name='polar' | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.name |
classPolarAffine(scale_transform, limits)[source]
Bases: matplotlib.transforms.Affine2DBase The affine part of the polar projection. Scales the output so that maximum radius rests on the edge of the axes circle. limits is the view limit of the data. The only part of its bounds that is used is the y limits (for the ra... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarAffine |
get_matrix()[source]
Get the matrix for the affine part of this transform. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarAffine.get_matrix |
classPolarTransform(axis=None, use_rmin=True, _apply_theta_transforms=True)[source]
Bases: matplotlib.transforms.Transform The base polar transform. This handles projection theta and r into Cartesian coordinate space x and y, but does not perform the ultimate affine transformation into the correct position. Paramete... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.has_inverse |
input_dims=2
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.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.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.inverted |
output_dims=2
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.output_dims |
transform_non_affine(tr)[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. Parame... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.transform_non_affine |
transform_path_non_affine(path)[source]
Apply the non-affine part of this transform to Path path, returning a new Path. transform_path(path) is equivalent to transform_path_affine(transform_path_non_affine(values)). | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.PolarTransform.transform_path_non_affine |
classRadialLocator(base, axes=None)[source]
Bases: matplotlib.ticker.Locator Used to locate radius ticks. Ensures that all ticks are strictly positive. For all other tasks, it delegates to the base Locator (which may be different depending on the scale of the r-axis). nonsingular(vmin, vmax)[source]
Adjust a rang... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.RadialLocator |
nonsingular(vmin, vmax)[source]
Adjust a range as needed to avoid singularities. This method gets called during autoscaling, with (v0, v1) set to the data limits on the axes if the axes contains any data, or (-inf, +inf) if not. If v0 == v1 (possibly up to some floating point slop), this method returns an expanded i... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.RadialLocator.nonsingular |
set_axis(axis)[source] | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.RadialLocator.set_axis |
view_limits(vmin, vmax)[source]
Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.RadialLocator.view_limits |
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, facecolor=<UNSET>, frame_... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set |
set_rgrids(radii, labels=None, angle=None, fmt=None, **kwargs)[source]
Set the radial gridlines on a polar plot. Parameters
radiituple with floats
The radii for the radial gridlines
labelstuple with strings or None
The labels to use at each radial gridline. The matplotlib.ticker.ScalarFormatter will be used... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rgrids |
set_rlabel_position(value)[source]
Update the theta position of the radius labels. Parameters
valuenumber
The angular position of the radius labels in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rlabel_position |
set_rlim(bottom=None, top=None, emit=True, auto=False, **kwargs)[source]
See set_ylim. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rlim |
set_rmax(rmax)[source]
Set the outer radial limit. Parameters
rmaxfloat | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rmax |
set_rmin(rmin)[source]
Set the inner radial limit. Parameters
rminfloat | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rmin |
set_rorigin(rorigin)[source]
Update the radial origin. Parameters
roriginfloat | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rorigin |
set_rscale(*args, **kwargs)[source] | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rscale |
set_rticks(*args, **kwargs)[source] | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_rticks |
set_theta_direction(direction)[source]
Set the direction in which theta increases. clockwise, -1:
Theta increases in the clockwise direction counterclockwise, anticlockwise, 1:
Theta increases in the counterclockwise direction | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_theta_direction |
set_theta_offset(offset)[source]
Set the offset for the location of 0 in radians. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_theta_offset |
set_theta_zero_location(loc, offset=0.0)[source]
Set the location of theta's zero. This simply calls set_theta_offset with the correct value in radians. Parameters
locstr
May be one of "N", "NW", "W", "SW", "S", "SE", "E", or "NE".
offsetfloat, default: 0
An offset in degrees to apply from the specified loc... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_theta_zero_location |
set_thetagrids(angles, labels=None, fmt=None, **kwargs)[source]
Set the theta gridlines in a polar plot. Parameters
anglestuple with floats, degrees
The angles of the theta gridlines.
labelstuple with strings or None
The labels to use at each theta gridline. The projections.polar.ThetaFormatter will be used... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_thetagrids |
set_thetalim(*args, **kwargs)[source]
Set the minimum and maximum theta values. Can take the following signatures:
set_thetalim(minval, maxval): Set the limits in radians.
set_thetalim(thetamin=minval, thetamax=maxval): Set the limits in degrees. where minval and maxval are the minimum and maximum limits. Values ... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_thetalim |
set_thetamax(thetamax)[source]
Set the maximum theta limit in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_thetamax |
set_thetamin(thetamin)[source]
Set the minimum theta limit in degrees. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_thetamin |
set_ylim(bottom=None, top=None, emit=True, auto=False, *, ymin=None, ymax=None)[source]
Set the data limits for the radial axis. Parameters
bottomfloat, optional
The bottom limit (default: None, which leaves the bottom limit unchanged). The bottom and top ylims may be passed as the tuple (bottom, top) as the fi... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_ylim |
set_yscale(*args, **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 arguments: matplotlib.scale.LinearScale ma... | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.set_yscale |
start_pan(x, y, button)[source]
Called when a pan operation has started. Parameters
x, yfloat
The mouse coordinates in display coords.
buttonMouseButton
The pressed mouse button. Notes This is intended to be overridden by new projection types. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.start_pan |
classThetaFormatter[source]
Bases: matplotlib.ticker.Formatter Used to format the theta tick labels. Converts the native unit of radians into degrees and adds a degree symbol. | matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.ThetaFormatter |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.