doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
draw(renderer)[source]
Update the location of children if necessary and draw them to the given renderer. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.draw |
get_children()[source]
Return a list of the child Artists. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_children |
get_extent(renderer)[source]
Return a tuple width, height, xdescent, ydescent of the box. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_extent |
get_extent_offsets(renderer)[source]
Update offset of the children and return the extent of the box. Parameters
rendererRendererBase subclass
Returns
width
height
xdescent
ydescent
list of (xoffset, yoffset) pairs | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_extent_offsets |
get_offset(width, height, xdescent, ydescent, renderer)[source]
Return the offset as a tuple (x, y). The extent parameters have to be provided to handle the case where the offset is dynamically determined by a callable (see set_offset). Parameters
width, height, xdescent, ydescent
Extent parameters.
rendererRen... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_offset |
get_visible_children()[source]
Return a list of the visible child Artists. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_visible_children |
get_window_extent(renderer)[source]
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0, 0. Be careful when using this function, the results... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.get_window_extent |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, ... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.set |
set_figure(fig)[source]
Set the Figure for the OffsetBox and all its children. Parameters
figFigure | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.set_figure |
set_height(height)[source]
Set the height of the box. Parameters
heightfloat | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.set_height |
set_offset(xy)[source]
Set the offset. Parameters
xy(float, float) or callable
The (x, y) coordinates of the offset in display units. These can either be given explicitly as a tuple (x, y), or by providing a function that converts the extent into the offset. This function must have the signature: def offset(wid... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.set_offset |
set_width(width)[source]
Set the width of the box. Parameters
widthfloat | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetBox.set_width |
classmatplotlib.offsetbox.OffsetImage(arr, zoom=1, cmap=None, norm=None, interpolation=None, origin=None, filternorm=True, filterrad=4.0, resample=False, dpi_cor=True, **kwargs)[source]
Bases: matplotlib.offsetbox.OffsetBox draw(renderer)[source]
Update the location of children if necessary and draw them to the g... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage |
draw(renderer)[source]
Update the location of children if necessary and draw them to the given renderer. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.draw |
get_children()[source]
Return a list of the child Artists. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_children |
get_data()[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_data |
get_extent(renderer)[source]
Return a tuple width, height, xdescent, ydescent of the box. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_extent |
get_offset()[source]
Return offset of the container. | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_offset |
get_window_extent(renderer)[source]
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0, 0. Be careful when using this function, the results... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_window_extent |
get_zoom()[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.get_zoom |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, data=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>,... | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.set |
set_data(arr)[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.set_data |
set_zoom(zoom)[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.OffsetImage.set_zoom |
classmatplotlib.offsetbox.PackerBase(pad=None, sep=None, width=None, height=None, align='baseline', mode='fixed', children=None)[source]
Bases: matplotlib.offsetbox.OffsetBox Parameters
padfloat, optional
The boundary padding in points.
sepfloat, optional
The spacing between items in points.
width, height... | matplotlib.offsetbox_api#matplotlib.offsetbox.PackerBase |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, ... | matplotlib.offsetbox_api#matplotlib.offsetbox.PackerBase.set |
classmatplotlib.offsetbox.PaddedBox(child, pad=None, draw_frame=False, patch_attrs=None)[source]
Bases: matplotlib.offsetbox.OffsetBox A container to add a padding around an Artist. The PaddedBox contains a FancyBboxPatch that is used to visualize it when rendering. Parameters
childArtist
The contained Artist. ... | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox |
draw(renderer)[source]
Update the location of children if necessary and draw them to the given renderer. | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox.draw |
draw_frame(renderer)[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox.draw_frame |
get_extent_offsets(renderer)[source]
Update offset of the children and return the extent of the box. Parameters
rendererRendererBase subclass
Returns
width
height
xdescent
ydescent
list of (xoffset, yoffset) pairs | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox.get_extent_offsets |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, ... | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox.set |
update_frame(bbox, fontsize=None)[source] | matplotlib.offsetbox_api#matplotlib.offsetbox.PaddedBox.update_frame |
classmatplotlib.offsetbox.TextArea(s, textprops=None, multilinebaseline=False, minimumdescent=<deprecated parameter>)[source]
Bases: matplotlib.offsetbox.OffsetBox The TextArea is a container artist for a single Text instance. The text is placed at (0, 0) with baseline+left alignment, by default. The width and height... | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea |
draw(renderer)[source]
Update the location of children if necessary and draw them to the given renderer. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.draw |
get_extent(renderer)[source]
Return a tuple width, height, xdescent, ydescent of the box. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_extent |
get_minimumdescent()[source]
[Deprecated] Get minimumdescent. Notes Deprecated since version 3.4. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_minimumdescent |
get_multilinebaseline()[source]
Get multilinebaseline. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_multilinebaseline |
get_offset()[source]
Return offset of the container. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_offset |
get_text()[source]
Return the string representation of this area's text. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_text |
get_window_extent(renderer)[source]
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0, 0. Be careful when using this function, the results... | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.get_window_extent |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, minimumdescent=<UNSET>, multilinebaseline=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNS... | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set |
set_minimumdescent(t)[source]
[Deprecated] Set minimumdescent. If True, extent of the single line text is adjusted so that its descent is at least the one of the glyph "p". Notes Deprecated since version 3.4. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set_minimumdescent |
set_multilinebaseline(t)[source]
Set multilinebaseline. If True, the baseline for multiline text is adjusted so that it is (approximately) center-aligned with single-line text. This is used e.g. by the legend implementation so that single-line labels are baseline-aligned, but multiline labels are "center"-aligned wit... | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set_multilinebaseline |
set_offset(xy)[source]
Set the offset of the container. Parameters
xy(float, float)
The (x, y) coordinates of the offset in display units. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set_offset |
set_text(s)[source]
Set the text of this area as a string. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set_text |
set_transform(t)[source]
set_transform is ignored. | matplotlib.offsetbox_api#matplotlib.offsetbox.TextArea.set_transform |
classmatplotlib.offsetbox.VPacker(pad=None, sep=None, width=None, height=None, align='baseline', mode='fixed', children=None)[source]
Bases: matplotlib.offsetbox.PackerBase VPacker packs its children vertically, automatically adjusting their relative positions at draw time. Parameters
padfloat, optional
The bou... | matplotlib.offsetbox_api#matplotlib.offsetbox.VPacker |
get_extent_offsets(renderer)[source]
Update offset of the children and return the extent of the box. Parameters
rendererRendererBase subclass
Returns
width
height
xdescent
ydescent
list of (xoffset, yoffset) pairs | matplotlib.offsetbox_api#matplotlib.offsetbox.VPacker.get_extent_offsets |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, ... | matplotlib.offsetbox_api#matplotlib.offsetbox.VPacker.set |
matplotlib.patches Patches are Artists with a face color and an edge color. Classes
Annulus(xy, r, width[, angle]) An elliptical annulus.
Arc(xy, width, height[, angle, theta1, theta2]) An elliptical arc, i.e. a segment of an ellipse.
Arrow(x, y, dx, dy[, width]) An arrow patch.
ArrowSt... | matplotlib.patches_api |
matplotlib.patches.Annulus classmatplotlib.patches.Annulus(xy, r, width, angle=0.0, **kwargs)[source]
Bases: matplotlib.patches.Patch An elliptical annulus. Parameters
xy(float, float)
xy coordinates of annulus centre.
rfloat or (float, float)
The radius, or semi-axes: If float: radius of the outer circl... | matplotlib._as_gen.matplotlib.patches.annulus |
get_angle()[source]
Return the angle of the annulus. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.get_angle |
get_center()[source]
Return the center of the annulus. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.get_center |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.get_path |
get_radii()[source]
Return the semi-major and semi-minor radii of the annulus. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.get_radii |
get_width()[source]
Return the width (thickness) of the annulus ring. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.get_width |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, angle=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, center=<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>, lab... | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set |
set_angle(angle)[source]
Set the tilt angle of the annulus. Parameters
anglefloat | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_angle |
set_center(xy)[source]
Set the center of the annulus. Parameters
xy(float, float) | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_center |
set_radii(r)[source]
Set the semi-major (a) and semi-minor radii (b) of the annulus. Parameters
rfloat or (float, float)
The radius, or semi-axes: If float: radius of the outer circle. If two floats: semi-major and -minor axes of outer ellipse. | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_radii |
set_semimajor(a)[source]
Set the semi-major axis a of the annulus. Parameters
afloat | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_semimajor |
set_semiminor(b)[source]
Set the semi-minor axis b of the annulus. Parameters
bfloat | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_semiminor |
set_width(width)[source]
Set the width (thickness) of the annulus ring. The width is measured inwards from the outer ellipse. Parameters
widthfloat | matplotlib._as_gen.matplotlib.patches.annulus#matplotlib.patches.Annulus.set_width |
matplotlib.patches.Arc classmatplotlib.patches.Arc(xy, width, height, angle=0.0, theta1=0.0, theta2=360.0, **kwargs)[source]
Bases: matplotlib.patches.Ellipse An elliptical arc, i.e. a segment of an ellipse. Due to internal optimizations, there are certain restrictions on using Arc: The arc cannot be filled. The a... | matplotlib._as_gen.matplotlib.patches.arc |
draw(renderer)[source]
Draw the arc to the given renderer. Notes Ellipses are normally drawn using an approximation that uses eight cubic Bezier splines. The error of this approximation is 1.89818e-6, according to this unverified source: Lancaster, Don. Approximating a Circle or an Ellipse Using Four Bezier Cubic Spl... | matplotlib._as_gen.matplotlib.patches.arc#matplotlib.patches.Arc.draw |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, angle=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, center=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, height=<UNSET>, in_layout=<UNSET>, joinst... | matplotlib._as_gen.matplotlib.patches.arc#matplotlib.patches.Arc.set |
matplotlib.patches.Arrow classmatplotlib.patches.Arrow(x, y, dx, dy, width=1.0, **kwargs)[source]
Bases: matplotlib.patches.Patch An arrow patch. Draws an arrow from (x, y) to (x + dx, y + dy). The width of the arrow is scaled by width. Parameters
xfloat
x coordinate of the arrow tail.
yfloat
y coordinate... | matplotlib._as_gen.matplotlib.patches.arrow |
get_patch_transform()[source]
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | matplotlib._as_gen.matplotlib.patches.arrow#matplotlib.patches.Arrow.get_patch_transform |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.arrow#matplotlib.patches.Arrow.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.matplotlib.patches.arrow#matplotlib.patches.Arrow.set |
matplotlib.patches.ArrowStyle classmatplotlib.patches.ArrowStyle(stylename, **kw)[source]
Bases: matplotlib.patches._Style ArrowStyle is a container class which defines several arrowstyle classes, which is used to create an arrow path along a given path. These are mainly used with FancyArrowPatch. A arrowstyle obje... | matplotlib._as_gen.matplotlib.patches.arrowstyle |
classBarAB(widthA=1.0, angleA=0, widthB=1.0, angleB=0)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with vertical bars | at both ends. Parameters
widthA, widthBfloat, default: 1.0
Width of the bracket.
angleA, angleBfloat, default: 0 degrees
Orientation of the bracket, as a counterclockwise ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BarAB |
arrow='|-|' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BarAB.arrow |
classBracketA(widthA=1.0, lengthA=0.2, angleA=0)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with an outward square bracket at its start. Parameters
widthAfloat, default: 1.0
Width of the bracket.
lengthAfloat, default: 0.2
Length of the bracket.
angleAfloat, default: 0 degrees
Orientat... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketA |
arrow=']-' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketA.arrow |
classBracketAB(widthA=1.0, lengthA=0.2, angleA=0, widthB=1.0, lengthB=0.2, angleB=0)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with outward square brackets at both ends. Parameters
widthA, widthBfloat, default: 1.0
Width of the bracket.
lengthA, lengthBfloat, default: 0.2
Length of the br... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketAB |
arrow=']-[' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketAB.arrow |
classBracketB(widthB=1.0, lengthB=0.2, angleB=0)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with an outward square bracket at its end. Parameters
widthBfloat, default: 1.0
Width of the bracket.
lengthBfloat, default: 0.2
Length of the bracket.
angleBfloat, default: 0 degrees
Orientatio... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketB |
arrow='-[' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketB.arrow |
classBracketCurve(widthA=1.0, lengthA=0.2, angleA=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with an outward square bracket at its start and a head at the end. Parameters
widthAfloat, default: 1.0
Width of the bracket.
lengthAfloat, default: 0.2
Length of the bracket.
angleAfloat, ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketCurve |
arrow=']->' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.BracketCurve.arrow |
classCurve[source]
Bases: matplotlib.patches.ArrowStyle._Curve A simple curve without any arrow head. Parameters
head_lengthfloat, default: 0.4
Length of the arrow head, relative to mutation_scale.
head_widthfloat, default: 0.2
Width of the arrow head, relative to mutation_scale.
widthAfloat, default: 1.0... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Curve |
classCurveA(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with a head at its begin point. Parameters
head_lengthfloat, default: 0.4
Length of the arrow head, relative t... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveA |
arrow='<-' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveA.arrow |
classCurveAB(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with heads both at the begin and the end point. Parameters
head_lengthfloat, default: 0.4
Length of the arrow... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveAB |
arrow='<->' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveAB.arrow |
classCurveB(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with a head at its end point. Parameters
head_lengthfloat, default: 0.4
Length of the arrow head, relative to ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveB |
arrow='->' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveB.arrow |
classCurveBracket(widthB=1.0, lengthB=0.2, angleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with an outward square bracket at its end and a head at the start. Parameters
widthBfloat, default: 1.0
Width of the bracket.
lengthBfloat, default: 0.2
Length of the bracket.
angleBfloat, ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveBracket |
arrow='<-[' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveBracket.arrow |
classCurveFilledA(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with filled triangle head at the begin. Parameters
head_lengthfloat, default: 0.4
Length of the arrow he... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledA |
arrow='<|-' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledA.arrow |
classCurveFilledAB(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with filled triangle heads at both ends. Parameters
head_lengthfloat, default: 0.4
Length of the arrow ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledAB |
arrow='<|-|>' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledAB.arrow |
classCurveFilledB(head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)[source]
Bases: matplotlib.patches.ArrowStyle._Curve An arrow with filled triangle head at the end. Parameters
head_lengthfloat, default: 0.4
Length of the arrow head... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledB |
arrow='-|>' | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.CurveFilledB.arrow |
classFancy(head_length=0.4, head_width=0.4, tail_width=0.4)[source]
Bases: matplotlib.patches.ArrowStyle._Base A fancy arrow. Only works with a quadratic Bezier curve. Parameters
head_lengthfloat, default: 0.4
Length of the arrow head.
head_widthfloat, default: 0.4
Width of the arrow head.
tail_widthfloat... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Fancy |
transmute(path, mutation_size, linewidth)[source]
The transmute method is the very core of the ArrowStyle class and must be overridden in the subclasses. It receives the path object along which the arrow will be drawn, and the mutation_size, with which the arrow head etc. will be scaled. The linewidth may be used to ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Fancy.transmute |
classSimple(head_length=0.5, head_width=0.5, tail_width=0.2)[source]
Bases: matplotlib.patches.ArrowStyle._Base A simple arrow. Only works with a quadratic Bezier curve. Parameters
head_lengthfloat, default: 0.5
Length of the arrow head.
head_widthfloat, default: 0.5
Width of the arrow head.
tail_widthflo... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Simple |
transmute(path, mutation_size, linewidth)[source]
The transmute method is the very core of the ArrowStyle class and must be overridden in the subclasses. It receives the path object along which the arrow will be drawn, and the mutation_size, with which the arrow head etc. will be scaled. The linewidth may be used to ... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Simple.transmute |
classWedge(tail_width=0.3, shrink_factor=0.5)[source]
Bases: matplotlib.patches.ArrowStyle._Base Wedge(?) shape. Only works with a quadratic Bezier curve. The begin point has a width of the tail_width and the end point has a width of 0. At the middle, the width is shrink_factor*tail_width. Parameters
tail_widthfl... | matplotlib._as_gen.matplotlib.patches.arrowstyle#matplotlib.patches.ArrowStyle.Wedge |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.