| |
- matplotlib.artist.Artist
-
- Patch
-
- Ellipse
-
- Circle
- Polygon
-
- Arrow
- FancyArrow
- Wedge
- YAArrow
- Rectangle
- RegularPolygon
-
- CirclePolygon
- Shadow
- PolygonInteractor
class Arrow(Polygon) |
|
An arrow patch |
|
- Method resolution order:
- Arrow
- Polygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, x, y, dx, dy, width=1.0, **kwargs)
- Draws an arrow, starting at (x,y), direction and length
given by (dx,dy) the width of the arrow is scaled by width
See Patch documentation for additional kwargs
Methods inherited from Polygon:
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Circle(Ellipse) |
|
A circle patch |
|
- Method resolution order:
- Circle
- Ellipse
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, radius=5, **kwargs)
- See Patch documentation for allowed kwargs
Methods inherited from Ellipse:
- draw(self, renderer)
- get_verts(self)
- Not actually used for rendering. Provided to conform to
Patch super class.
Methods inherited from Patch:
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class CirclePolygon(RegularPolygon) |
|
A circle patch |
|
- Method resolution order:
- CirclePolygon
- RegularPolygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, radius=5, resolution=20, **kwargs)
- See Patch documentation for additional kwargs
Methods inherited from RegularPolygon:
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Ellipse(Patch) |
|
A scale-free ellipse
xy - center of ellipse
width - length of horizontal axis
height - length of vertical axis
angle - rotation in degrees (anti-clockwise) |
|
- Method resolution order:
- Ellipse
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, width, height, angle=0.0, **kwargs)
- See Patch documentation for allowed kwargs
- draw(self, renderer)
- get_verts(self)
- Not actually used for rendering. Provided to conform to
Patch super class.
Methods inherited from Patch:
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class FancyArrow(Polygon) |
|
Like Arrow, but lets you set head width and head height independently. |
|
- Method resolution order:
- FancyArrow
- Polygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, x, y, dx, dy, width=0.001, length_includes_head=False, head_width=None, head_length=None, shape='full', overhang=0, head_starts_at_zero=False, **kwargs)
- Returns a new Arrow.
length_includes_head: True if head is counted in calculating the length.
shape: ['full', 'left', 'right']
overhang: distance that the arrow is swept back (0 overhang means
triangular shape).
head_starts_at_zero: if True, the head starts being drawn at coordinate
0 instead of ending at coordinate 0.
See Patch documentation for additional kwargs
Methods inherited from Polygon:
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Patch(matplotlib.artist.Artist) |
|
A patch is a 2D thingy with a face color and an edge color
If any of edgecolor, facecolor, linewidth, or antialiased are
None, they default to their rc params setting |
|
Methods defined here:
- __init__(self, edgecolor=None, facecolor=None, linewidth=None, antialiased=None, hatch=None, fill=1, **kwargs)
- The following kwarg properties are supported
alpha: float
animated: [True | False]
antialiased or aa: [True | False]
clip_box: a matplotlib.transform.Bbox instance
clip_on: [True | False]
edgecolor or ec: any matplotlib color
facecolor or fc: any matplotlib color
figure: a matplotlib.figure.Figure instance
fill: [True | False]
hatch: unknown
label: any string
linewidth or lw: float
lod: [True | False]
transform: a matplotlib.transform transformation instance
visible: [True | False]
zorder: any number
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_verts(self)
- Return the vertices of the patch
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes defined here:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Polygon(Patch) |
|
A general polygon patch. xy is a sequence of x,y 2 tuples tuples |
|
- Method resolution order:
- Polygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, **kwargs)
- See Patch documentation for additional kwargs
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class PolygonInteractor |
|
An polygon editor.
Key-bindings
't' toggle vertex markers on and off. When vertex markers are on,
you can move them, delete them
'd' delete the vertex under point
'i' insert a vertex at point. You must be within epsilon of the
line connecting two existing vertices |
|
Methods defined here:
- __init__(self, poly)
- button_press_callback(self, event)
- whenever a mouse button is pressed
- button_release_callback(self, event)
- whenever a mouse button is released
- get_ind_under_point(self, event)
- get the index of the vertex under point if within epsilon tolerance
- key_press_callback(self, event)
- whenever a key is pressed
- motion_notify_callback(self, event)
- on mouse movement
- poly_changed(self, poly)
- this method is called whenever the polygon object is called
Data and other attributes defined here:
- epsilon = 5
- showverts = True
|
class Rectangle(Patch) |
|
Draw a rectangle with lower left at xy=(x,y) with specified
width and height |
|
- Method resolution order:
- Rectangle
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, width, height, **kwargs)
- xy is an x,y tuple lower, left
width and height are width and height of rectangle
fill is a boolean indicating whether to fill the rectangle
See Patch documentation for additional kwargs
- get_height(self)
- Return the height of the rectangle
- get_verts(self)
- Return the vertices of the rectangle
- get_width(self)
- Return the width of the rectangle
- get_x(self)
- Return the left coord of the rectangle
- get_y(self)
- Return the bottom coord of the rectangle
- set_bounds(self, *args)
- Set the bounds of the rectangle: l,b,w,h
ACCEPTS: (left, bottom, width, height)
- set_height(self, h)
- Set the width rectangle
ACCEPTS: float
- set_width(self, w)
- Set the width rectangle
ACCEPTS: float
- set_x(self, x)
- Set the left coord of the rectangle
ACCEPTS: float
- set_y(self, y)
- Set the bottom coord of the rectangle
ACCEPTS: float
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class RegularPolygon(Patch) |
|
A regular polygon patch. xy is a length 2 tuple (the center)
numVertices is the number of vertices. Radius is the distance
from the center to each of the vertices. Orientation is in
radians and rotates the polygon.
See Patch documentation for kwargs |
|
- Method resolution order:
- RegularPolygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, xy, numVertices, radius=5, orientation=0, **kwargs)
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Shadow(Patch) |
| |
- Method resolution order:
- Shadow
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, patch, ox, oy, props=None)
- Create a shadow of the patch offset by ox, oy. props, if not None is
a patch property update dictionary. If None, the shadow will have
have the same color as the face, but darkened
See Patch documentation for kwargs
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class Wedge(Polygon) |
| |
- Method resolution order:
- Wedge
- Polygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, center, r, theta1, theta2, dtheta=0.10000000000000001, **kwargs)
- Draw a wedge centered at x,y tuple center with radius r that
sweeps theta1 to theta2 (angles)
dtheta is the resolution in degrees
See Patch documentation for additional kwargs
Methods inherited from Polygon:
- get_verts(self)
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
|
class YAArrow(Polygon) |
|
Yet another arrow class
This is an arrow that is defined in display space and has a tip at
x1,y1 and a base at x2, y2. |
|
- Method resolution order:
- YAArrow
- Polygon
- Patch
- matplotlib.artist.Artist
Methods defined here:
- __init__(self, dpi, xytip, xybase, width=4, frac=0.10000000000000001, headwidth=12, **kwargs)
- xytip : (x,y) location of arrow tip
xybase : (x,y) location the arrow base mid point
dpi : the figure dpi instance (fig.dpi)
width : the width of the arrow in points
frac : the fraction of the arrow length occupied by the head
headwidth : the width of the base of the arrow head in points
See Patch documentation for additional kwargs
- get_verts(self)
- getpoints(self, x1, y1, x2, y2, k)
- for line segment defined by x1,y1 and x2,y2, return the points on
the line that is perpendicular to the line and intersects x2,y2
and the distance from x2,y2 ot the returned points is k
Methods inherited from Patch:
- draw(self, renderer)
- get_aa(self)
- alias for get_antialiased
- get_antialiased(self)
- get_ec(self)
- alias for get_edgecolor
- get_edgecolor(self)
- get_facecolor(self)
- get_fc(self)
- alias for get_facecolor
- get_fill(self)
- return whether fill is set
- get_hatch(self)
- return the current hatching pattern
- get_linewidth(self)
- get_lw(self)
- alias for get_linewidth
- get_window_extent(self, renderer=None)
- set_antialiased(self, aa)
- Set whether to use antialiased rendering
ACCEPTS: [True | False]
- set_ec(self, val)
- alias for set_edgecolor
- set_edgecolor(self, color)
- Set the patch edge color
ACCEPTS: any matplotlib color
- set_facecolor(self, color)
- Set the patch face color
ACCEPTS: any matplotlib color
- set_fc(self, val)
- alias for set_facecolor
- set_fill(self, b)
- Set whether to fill the patch
ACCEPTS: [True | False]
- set_hatch(self, h)
- Set the hatching pattern
hatch can be one of:
/ - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
# - crossed
x - crossed diagonal
letters can be combined, in which case all the specified
hatchings are done
if same letter repeats, it increases the density of hatching
in that direction
CURRENT LIMITATIONS:
1. Hatching is supported in the PostScript
backend only.
2. Hatching is done with solid black lines of width 0.
- set_linewidth(self, w)
- Set the patch linewidth in points
ACCEPTS: float
- set_lw(self, val)
- alias for set_linewidth
- update_from(self, other)
Data and other attributes inherited from Patch:
- zorder = 1
Methods inherited from matplotlib.artist.Artist:
- add_callback(self, func)
- get_alpha(self)
- Return the alpha value used for blending - not supported on all
backends
- get_animated(self)
- return the artist's animated state
- get_clip_box(self)
- Return artist clipbox
- get_clip_on(self)
- Return whether artist uses clipping
- get_figure(self)
- return the figure instance
- get_label(self)
- get_transform(self)
- return the Transformation instance used by this artist
- get_visible(self)
- return the artist's visiblity
- get_zorder(self)
- is_figure_set(self)
- is_transform_set(self)
- Artist has transform explicity let
- pchanged(self)
- fire event when property changed
- remove_callback(self, oid)
- set(self, **kwargs)
- A tkstyle set command, pass kwargs to set properties
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
ACCEPTS: float
- set_animated(self, b)
- set the artist's animation state
ACCEPTS: [True | False]
- set_clip_box(self, clipbox)
- Set the artist's clip Bbox
ACCEPTS: a matplotlib.transform.Bbox instance
- set_clip_on(self, b)
- Set whether artist uses clipping
ACCEPTS: [True | False]
- set_figure(self, fig)
- Set the figure instance the artist belong to
ACCEPTS: a matplotlib.figure.Figure instance
- set_label(self, s)
- Set the line label to s for auto legend
ACCEPTS: any string
- set_lod(self, on)
- Set Level of Detail on or off. If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
ACCEPTS: [True | False]
- set_transform(self, t)
- set the Transformation instance used by this artist
ACCEPTS: a matplotlib.transform transformation instance
- set_visible(self, b)
- set the artist's visiblity
ACCEPTS: [True | False]
- set_zorder(self, level)
- Set the zorder for the artist
ACCEPTS: any number
- update(self, props)
Data and other attributes inherited from matplotlib.artist.Artist:
- aname = 'Artist'
| |