doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
code_type
alias of numpy.uint8 | matplotlib.path_api#matplotlib.path.Path.code_type |
contains_path(path, transform=None)[source]
Return whether this (closed) path completely contains the given path. If transform is not None, the path will be transformed before checking for containment. | matplotlib.path_api#matplotlib.path.Path.contains_path |
contains_point(point, transform=None, radius=0.0)[source]
Return whether the area enclosed by the path contains the given point. The path is always treated as closed; i.e. if the last code is not CLOSEPOLY an implicit segment connecting the last vertex to the first vertex is assumed. Parameters
point(float, float... | matplotlib.path_api#matplotlib.path.Path.contains_point |
contains_points(points, transform=None, radius=0.0)[source]
Return whether the area enclosed by the path contains the given points. The path is always treated as closed; i.e. if the last code is not CLOSEPOLY an implicit segment connecting the last vertex to the first vertex is assumed. Parameters
points(N, 2) ar... | matplotlib.path_api#matplotlib.path.Path.contains_points |
copy()[source]
Return a shallow copy of the Path, which will share the vertices and codes with the source Path. | matplotlib.path_api#matplotlib.path.Path.copy |
CURVE3=3 | matplotlib.path_api#matplotlib.path.Path.CURVE3 |
CURVE4=4 | matplotlib.path_api#matplotlib.path.Path.CURVE4 |
deepcopy(memo=None)[source]
Return a deepcopy of the Path. The Path will not be readonly, even if the source Path is. | matplotlib.path_api#matplotlib.path.Path.deepcopy |
get_extents(transform=None, **kwargs)[source]
Get Bbox of the path. Parameters
transformmatplotlib.transforms.Transform, optional
Transform to apply to path before computing extents, if any. **kwargs
Forwarded to iter_bezier. Returns
matplotlib.transforms.Bbox
The extents of the path Bbox([[xmin, ymin],... | matplotlib.path_api#matplotlib.path.Path.get_extents |
statichatch(hatchpattern, density=6)[source]
Given a hatch specifier, hatchpattern, generates a Path that can be used in a repeated hatching pattern. density is the number of lines per unit square. | matplotlib.path_api#matplotlib.path.Path.hatch |
interpolated(steps)[source]
Return a new path resampled to length N x steps. Codes other than LINETO are not handled correctly. | matplotlib.path_api#matplotlib.path.Path.interpolated |
intersects_bbox(bbox, filled=True)[source]
Return whether this path intersects a given Bbox. If filled is True, then this also returns True if the path completely encloses the Bbox (i.e., the path is treated as filled). The bounding box is always considered filled. | matplotlib.path_api#matplotlib.path.Path.intersects_bbox |
intersects_path(other, filled=True)[source]
Return whether if this path intersects another given path. If filled is True, then this also returns True if one path completely encloses the other (i.e., the paths are treated as filled). | matplotlib.path_api#matplotlib.path.Path.intersects_path |
iter_bezier(**kwargs)[source]
Iterate over each bezier curve (lines included) in a Path. Parameters
**kwargs
Forwarded to iter_segments. Yields
Bmatplotlib.bezier.BezierSegment
The bezier curves that make up the current path. Note in particular that freestanding points are bezier curves of order 0, and li... | matplotlib.path_api#matplotlib.path.Path.iter_bezier |
iter_segments(transform=None, remove_nans=True, clip=None, snap=False, stroke_width=1.0, simplify=None, curves=True, sketch=None)[source]
Iterate over all curve segments in the path. Each iteration returns a pair (vertices, code), where vertices is a sequence of 1-3 coordinate pairs, and code is a Path code. Addition... | matplotlib.path_api#matplotlib.path.Path.iter_segments |
LINETO=2 | matplotlib.path_api#matplotlib.path.Path.LINETO |
classmethodmake_compound_path(*args)[source]
Make a compound path from a list of Path objects. Blindly removes all Path.STOP control points. | matplotlib.path_api#matplotlib.path.Path.make_compound_path |
classmethodmake_compound_path_from_polys(XY)[source]
Make a compound path object to draw a number of polygons with equal numbers of sides XY is a (numpolys x numsides x 2) numpy array of vertices. Return object is a Path. (Source code, png, pdf) | matplotlib.path_api#matplotlib.path.Path.make_compound_path_from_polys |
MOVETO=1 | matplotlib.path_api#matplotlib.path.Path.MOVETO |
NUM_VERTICES_FOR_CODE={0: 1, 1: 1, 2: 1, 3: 2, 4: 3, 79: 1}
A dictionary mapping Path codes to the number of vertices that the code expects. | matplotlib.path_api#matplotlib.path.Path.NUM_VERTICES_FOR_CODE |
STOP=0 | matplotlib.path_api#matplotlib.path.Path.STOP |
to_polygons(transform=None, width=0, height=0, closed_only=True)[source]
Convert this path to a list of polygons or polylines. Each polygon/polyline is an Nx2 array of vertices. In other words, each polygon has no MOVETO instructions or curves. This is useful for displaying in backends that do not support compound pa... | matplotlib.path_api#matplotlib.path.Path.to_polygons |
transformed(transform)[source]
Return a transformed copy of the path. See also matplotlib.transforms.TransformedPath
A specialized path class that will cache the transformed result and automatically update when the transform changes. | matplotlib.path_api#matplotlib.path.Path.transformed |
classmethodunit_circle()[source]
Return the readonly Path of the unit circle. For most cases, Path.circle() will be what you want. | matplotlib.path_api#matplotlib.path.Path.unit_circle |
classmethodunit_circle_righthalf()[source]
Return a Path of the right half of a unit circle. See Path.circle for the reference on the approximation used. | matplotlib.path_api#matplotlib.path.Path.unit_circle_righthalf |
classmethodunit_rectangle()[source]
Return a Path instance of the unit rectangle from (0, 0) to (1, 1). | matplotlib.path_api#matplotlib.path.Path.unit_rectangle |
classmethodunit_regular_asterisk(numVertices)[source]
Return a Path for a unit regular asterisk with the given numVertices and radius of 1.0, centered at (0, 0). | matplotlib.path_api#matplotlib.path.Path.unit_regular_asterisk |
classmethodunit_regular_polygon(numVertices)[source]
Return a Path instance for a unit regular polygon with the given numVertices such that the circumscribing circle has radius 1.0, centered at (0, 0). | matplotlib.path_api#matplotlib.path.Path.unit_regular_polygon |
classmethodunit_regular_star(numVertices, innerCircle=0.5)[source]
Return a Path for a unit regular star with the given numVertices and radius of 1.0, centered at (0, 0). | matplotlib.path_api#matplotlib.path.Path.unit_regular_star |
classmethodwedge(theta1, theta2, n=None)[source]
Return a Path for the unit circle wedge from angles theta1 to theta2 (in degrees). theta2 is unwrapped to produce the shortest wedge within 360 degrees. That is, if theta2 > theta1 + 360, the wedge will be from theta1 to theta2 - 360 and not a full circle plus some ext... | matplotlib.path_api#matplotlib.path.Path.wedge |
matplotlib.patheffects Defines classes for path effects. The path effects are supported in Text, Line2D and Patch. See also Path effects guide classmatplotlib.patheffects.AbstractPathEffect(offset=(0.0, 0.0))[source]
Bases: object A base class for path effects. Subclasses should override the draw_path method to a... | matplotlib.patheffects_api |
classmatplotlib.patheffects.AbstractPathEffect(offset=(0.0, 0.0))[source]
Bases: object A base class for path effects. Subclasses should override the draw_path method to add effect functionality. Parameters
offset(float, float), default: (0, 0)
The (x, y) offset to apply to the path, measured in points. d... | matplotlib.patheffects_api#matplotlib.patheffects.AbstractPathEffect |
draw_path(renderer, gc, tpath, affine, rgbFace=None)[source]
Derived should override this method. The arguments are the same as matplotlib.backend_bases.RendererBase.draw_path() except the first argument is a renderer. | matplotlib.patheffects_api#matplotlib.patheffects.AbstractPathEffect.draw_path |
classmatplotlib.patheffects.Normal(offset=(0.0, 0.0))[source]
Bases: matplotlib.patheffects.AbstractPathEffect The "identity" PathEffect. The Normal PathEffect's sole purpose is to draw the original artist with no special path effect. Parameters
offset(float, float), default: (0, 0)
The (x, y) offset to apply t... | matplotlib.patheffects_api#matplotlib.patheffects.Normal |
classmatplotlib.patheffects.PathEffectRenderer(path_effects, renderer)[source]
Bases: matplotlib.backend_bases.RendererBase Implements a Renderer which contains another renderer. This proxy then intercepts draw calls, calling the appropriate AbstractPathEffect draw method. Note Not all methods have been overridden o... | matplotlib.patheffects_api#matplotlib.patheffects.PathEffectRenderer |
copy_with_path_effect(path_effects)[source] | matplotlib.patheffects_api#matplotlib.patheffects.PathEffectRenderer.copy_with_path_effect |
draw_markers(gc, marker_path, marker_trans, path, *args, **kwargs)[source]
Draw a marker at each of path's vertices (excluding control points). This provides a fallback implementation of draw_markers that makes multiple calls to draw_path(). Some backends may want to override this method in order to draw the marker o... | matplotlib.patheffects_api#matplotlib.patheffects.PathEffectRenderer.draw_markers |
draw_path(gc, tpath, affine, rgbFace=None)[source]
Draw a Path instance using the given affine transform. | matplotlib.patheffects_api#matplotlib.patheffects.PathEffectRenderer.draw_path |
draw_path_collection(gc, master_transform, paths, *args, **kwargs)[source]
Draw a collection of paths selecting drawing properties from the lists facecolors, edgecolors, linewidths, linestyles and antialiaseds. offsets is a list of offsets to apply to each of the paths. The offsets in offsets are first transformed by... | matplotlib.patheffects_api#matplotlib.patheffects.PathEffectRenderer.draw_path_collection |
classmatplotlib.patheffects.PathPatchEffect(offset=(0, 0), **kwargs)[source]
Bases: matplotlib.patheffects.AbstractPathEffect Draws a PathPatch instance whose Path comes from the original PathEffect artist. Parameters
offset(float, float), default: (0, 0)
The (x, y) offset to apply to the path, in points. **kw... | matplotlib.patheffects_api#matplotlib.patheffects.PathPatchEffect |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Derived should override this method. The arguments are the same as matplotlib.backend_bases.RendererBase.draw_path() except the first argument is a renderer. | matplotlib.patheffects_api#matplotlib.patheffects.PathPatchEffect.draw_path |
classmatplotlib.patheffects.SimpleLineShadow(offset=(2, - 2), shadow_color='k', alpha=0.3, rho=0.3, **kwargs)[source]
Bases: matplotlib.patheffects.AbstractPathEffect A simple shadow via a line. Parameters
offset(float, float), default: (2, -2)
The (x, y) offset to apply to the path, in points.
shadow_colorco... | matplotlib.patheffects_api#matplotlib.patheffects.SimpleLineShadow |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Overrides the standard draw_path to add the shadow offset and necessary color changes for the shadow. | matplotlib.patheffects_api#matplotlib.patheffects.SimpleLineShadow.draw_path |
classmatplotlib.patheffects.SimplePatchShadow(offset=(2, - 2), shadow_rgbFace=None, alpha=None, rho=0.3, **kwargs)[source]
Bases: matplotlib.patheffects.AbstractPathEffect A simple shadow via a filled patch. Parameters
offset(float, float), default: (2, -2)
The (x, y) offset of the shadow in points.
shadow_rg... | matplotlib.patheffects_api#matplotlib.patheffects.SimplePatchShadow |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Overrides the standard draw_path to add the shadow offset and necessary color changes for the shadow. | matplotlib.patheffects_api#matplotlib.patheffects.SimplePatchShadow.draw_path |
classmatplotlib.patheffects.Stroke(offset=(0, 0), **kwargs)[source]
Bases: matplotlib.patheffects.AbstractPathEffect A line based PathEffect which re-draws a stroke. The path will be stroked with its gc updated with the given keyword arguments, i.e., the keyword arguments should be valid gc parameter values. draw_p... | matplotlib.patheffects_api#matplotlib.patheffects.Stroke |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Draw the path with updated gc. | matplotlib.patheffects_api#matplotlib.patheffects.Stroke.draw_path |
classmatplotlib.patheffects.TickedStroke(offset=(0, 0), spacing=10.0, angle=45.0, length=1.4142135623730951, **kwargs)[source]
Bases: matplotlib.patheffects.AbstractPathEffect A line-based PathEffect which draws a path with a ticked style. This line style is frequently used to represent constraints in optimization. T... | matplotlib.patheffects_api#matplotlib.patheffects.TickedStroke |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Draw the path with updated gc. | matplotlib.patheffects_api#matplotlib.patheffects.TickedStroke.draw_path |
classmatplotlib.patheffects.withSimplePatchShadow(offset=(2, - 2), shadow_rgbFace=None, alpha=None, rho=0.3, **kwargs)[source]
Bases: matplotlib.patheffects.SimplePatchShadow A shortcut PathEffect for applying SimplePatchShadow and then drawing the original Artist. With this class you can use artist.set_path_effects(... | matplotlib.patheffects_api#matplotlib.patheffects.withSimplePatchShadow |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Overrides the standard draw_path to add the shadow offset and necessary color changes for the shadow. | matplotlib.patheffects_api#matplotlib.patheffects.withSimplePatchShadow.draw_path |
classmatplotlib.patheffects.withStroke(offset=(0, 0), **kwargs)[source]
Bases: matplotlib.patheffects.Stroke A shortcut PathEffect for applying Stroke and then drawing the original Artist. With this class you can use artist.set_path_effects([path_effects.withStroke()])
as a shortcut for artist.set_path_effects([path... | matplotlib.patheffects_api#matplotlib.patheffects.withStroke |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Draw the path with updated gc. | matplotlib.patheffects_api#matplotlib.patheffects.withStroke.draw_path |
classmatplotlib.patheffects.withTickedStroke(offset=(0, 0), spacing=10.0, angle=45.0, length=1.4142135623730951, **kwargs)[source]
Bases: matplotlib.patheffects.TickedStroke A shortcut PathEffect for applying TickedStroke and then drawing the original Artist. With this class you can use artist.set_path_effects([path_... | matplotlib.patheffects_api#matplotlib.patheffects.withTickedStroke |
draw_path(renderer, gc, tpath, affine, rgbFace)[source]
Draw the path with updated gc. | matplotlib.patheffects_api#matplotlib.patheffects.withTickedStroke.draw_path |
matplotlib.projections Non-separable transforms that map from data space to screen space. Projections are defined as Axes subclasses. They include the following elements: A transformation from data coordinates into display coordinates. An inverse of that transformation. This is used, for example, to convert mouse posi... | matplotlib.projections_api |
classmatplotlib.projections.geo.AitoffAxes(*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.
share... | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes |
classAitoffTransform(resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform The base Aitoff 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 transform... | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes.AitoffTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes.AitoffTransform.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.AitoffAxes.AitoffTransform.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.AitoffAxes.AitoffTransform.transform_non_affine |
classInvertedAitoffTransform(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 correspondin... | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes.InvertedAitoffTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes.InvertedAitoffTransform.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.AitoffAxes.InvertedAitoffTransform.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.AitoffAxes.InvertedAitoffTransform.transform_non_affine |
name='aitoff' | matplotlib.projections_api#matplotlib.projections.geo.AitoffAxes.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.AitoffAxes.set |
classmatplotlib.projections.geo.GeoAxes(fig, rect, *, facecolor=None, frameon=True, sharex=None, sharey=None, label='', xscale=None, yscale=None, box_aspect=None, **kwargs)[source]
Bases: matplotlib.axes._axes.Axes An abstract base class for geographic projections. Build an Axes in a figure. Parameters
figFigure
... | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes |
can_pan()[source]
Return whether this axes supports the pan/zoom button functionality. This axes object does not support interactive pan/zoom. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.can_pan |
can_zoom()[source]
Return whether this axes supports the zoom box button functionality. This axes object does not support interactive zoom box. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.can_zoom |
cla()[source]
Clear the Axes. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.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.geo.GeoAxes.drag_pan |
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.geo.GeoAxes.end_pan |
format_coord(lon, lat)[source]
Return a format string formatting the coordinate. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.format_coord |
get_data_ratio()[source]
Return the aspect ratio of the data itself. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.get_data_ratio |
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.geo.GeoAxes.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.geo.GeoAxes.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.geo.GeoAxes.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.geo.GeoAxes.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.geo.GeoAxes.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.geo.GeoAxes.get_yaxis_transform |
RESOLUTION=75 | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.RESOLUTION |
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.GeoAxes.set |
set_latitude_grid(degrees)[source]
Set the number of degrees between each latitude grid. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.set_latitude_grid |
set_longitude_grid(degrees)[source]
Set the number of degrees between each longitude grid. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.set_longitude_grid |
set_longitude_grid_ends(degrees)[source]
Set the latitude(s) at which to stop drawing the longitude grids. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.set_longitude_grid_ends |
set_xlim(*args, **kwargs)[source]
Not supported. Please consider using Cartopy. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.set_xlim |
set_xscale(*args, **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 arguments: matplotlib.scale.LinearScale ma... | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.set_xscale |
set_ylim(*args, **kwargs)[source]
Not supported. Please consider using Cartopy. | matplotlib.projections_api#matplotlib.projections.geo.GeoAxes.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.geo.GeoAxes.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.geo.GeoAxes.start_pan |
classThetaFormatter(round_to=1.0)[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.geo.GeoAxes.ThetaFormatter |
classmatplotlib.projections.geo.HammerAxes(*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.
share... | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes |
classHammerTransform(resolution)[source]
Bases: matplotlib.projections.geo._GeoTransform The base Hammer 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 transform... | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.HammerTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.HammerTransform.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.HammerAxes.HammerTransform.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.HammerAxes.HammerTransform.transform_non_affine |
classInvertedHammerTransform(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 correspondin... | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.InvertedHammerTransform |
has_inverse=True
True if this transform has a corresponding inverse transform. | matplotlib.projections_api#matplotlib.projections.geo.HammerAxes.InvertedHammerTransform.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.HammerAxes.InvertedHammerTransform.inverted |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.