Version 3.0.2
matplotlib
Fork me on GitHub

Table of Contents

axis and tick API

Classes for the ticks and x and y axis

Axis objects

class matplotlib.axis.Axis(axes, pickradius=15)[source]

Public attributes

  • axes.transData - transform data coords to display coords
  • axes.transAxes - transform axis coords to display coords
  • labelpad - number of points between the axis and its label

Init the axis with the parent Axes instance

class matplotlib.axis.XAxis(axes, pickradius=15)[source]

Init the axis with the parent Axes instance

class matplotlib.axis.YAxis(axes, pickradius=15)[source]

Init the axis with the parent Axes instance

class matplotlib.axis.Ticker[source]
Axis.cla clear the current axis
Axis.get_scale

Formatters and Locators

Axis.get_major_formatter Get the formatter of the major ticker
Axis.get_major_locator Get the locator of the major ticker
Axis.get_minor_formatter Get the formatter of the minor ticker
Axis.get_minor_locator Get the locator of the minor ticker
Axis.set_major_formatter Set the formatter of the major ticker.
Axis.set_major_locator Set the locator of the major ticker.
Axis.set_minor_formatter Set the formatter of the minor ticker.
Axis.set_minor_locator Set the locator of the minor ticker.

Axis Label

Axis.set_label_coords Set the coordinates of the label.
Axis.set_label_position Set the label position (top or bottom)
Axis.set_label_text Set the text value of the axis label.
Axis.get_label_position Return the label position (top or bottom)
Axis.get_label_text Get the text of the label

Ticks, tick labels and Offset text

Axis.get_major_ticks get the tick instances; grow as necessary
Axis.get_majorticklabels Return a list of Text instances for the major ticklabels
Axis.get_majorticklines Return the major tick lines as a list of Line2D instances
Axis.get_majorticklocs Get the major tick locations in data coordinates as a numpy array
Axis.get_minor_ticks get the minor tick instances; grow as necessary
Axis.get_minorticklabels Return a list of Text instances for the minor ticklabels
Axis.get_minorticklines Return the minor tick lines as a list of Line2D instances
Axis.get_minorticklocs Get the minor tick locations in data coordinates as a numpy array
Axis.get_offset_text Return the axis offsetText as a Text instance
Axis.get_tick_padding
Axis.get_ticklabels Get the tick labels as a list of Text instances.
Axis.get_ticklines Return the tick lines as a list of Line2D instances
Axis.get_ticklocs Get the tick locations in data coordinates as a numpy array
Axis.get_gridlines Return the grid lines as a list of Line2D instance
Axis.grid Configure the grid lines.
Axis.iter_ticks Iterate through all of the major and minor ticks.
Axis.set_tick_params Set appearance parameters for ticks, ticklabels, and gridlines.
Axis.axis_date Sets up x-axis ticks and labels that treat the x data as dates.

Data and view intervals

Axis.get_data_interval return the Interval instance for this axis data limits
Axis.get_view_interval return the Interval instance for this axis view limits
Axis.set_data_interval set the axis data limits
Axis.set_view_interval

Rendering helpers

Axis.get_minpos
Axis.get_tick_space Return the estimated number of ticks that can fit on the axis.
Axis.get_ticklabel_extents Get the extents of the tick labels on either side of the axes.
Axis.get_tightbbox Return a bounding box that encloses the axis.

Interactive

Axis.get_pickradius Return the depth of the axis used by the picker
Axis.set_pickradius Set the depth of the axis used by the picker.

Units

Axis.convert_units
Axis.set_units set the units for axis
Axis.get_units return the units for axis
Axis.update_units introspect data for units converter and update the axis.converter instance if necessary.

Incremental navigation

Axis.pan Pan numsteps (can be positive or negative)
Axis.zoom Zoom in/out on axis; if direction is >0 zoom in, else zoom out

YAxis Specific

YAxis.axis_name
YAxis.get_text_widths
YAxis.get_ticks_position Return the ticks position (left, right, both or unknown)
YAxis.set_offset_position
Parameters:
YAxis.set_ticks_position Set the ticks position (left, right, both, default or none) 'both' sets the ticks to appear on both positions, but does not change the tick labels.
YAxis.tick_left Move ticks and ticklabels (if present) to the left of the axes.
YAxis.tick_right Move ticks and ticklabels (if present) to the right of the axes.

XAxis Specific

XAxis.axis_name
XAxis.get_text_heights Returns the amount of space one should reserve for text above and below the axes.
XAxis.get_ticks_position Return the ticks position (top, bottom, default or unknown)
XAxis.set_ticks_position Set the ticks position (top, bottom, both, default or none) both sets the ticks to appear on both positions, but does not change the tick labels.
XAxis.tick_bottom Move ticks and ticklabels (if present) to the bottom of the axes.
XAxis.tick_top Move ticks and ticklabels (if present) to the top of the axes.

Other

Axis.OFFSETTEXTPAD
Axis.limit_range_for_scale
Axis.reset_ticks Re-initialize the major and minor Tick lists.
Axis.set_default_intervals set the default limits for the axis data and view interval if they are not mutated
Axis.get_smart_bounds get whether the axis has smart bounds
Axis.set_smart_bounds set the axis to have smart bounds

Discouraged

These methods implicitly use FixedLocator and FixedFormatter. They can be convenient, but if not used together may de-couple your tick labels from your data.

Axis.set_ticklabels Set the text values of the tick labels.
Axis.set_ticks Set the locations of the tick marks from sequence ticks

Tick objects

class matplotlib.axis.Tick(axes, loc, label, size=None, width=None, color=None, tickdir=None, pad=None, labelsize=None, labelcolor=None, zorder=None, gridOn=None, tick1On=True, tick2On=True, label1On=True, label2On=False, major=True, labelrotation=0, grid_color=None, grid_linestyle=None, grid_linewidth=None, grid_alpha=None, **kw)[source]

Abstract base class for the axis ticks, grid lines and labels

1 refers to the bottom of the plot for xticks and the left for yticks 2 refers to the top of the plot for xticks and the right for yticks

Attributes:
tick1line : Line2D
tick2line : Line2D
gridline : Line2D
label1 : Text
label2 : Text
gridOn : bool

Determines whether to draw the tickline.

tick1On : bool

Determines whether to draw the first tickline.

tick2On : bool

Determines whether to draw the second tickline.

label1On : bool

Determines whether to draw the first tick label.

label2On : bool

Determines whether to draw the second tick label.

bbox is the Bound2D bounding box in display coords of the Axes loc is the tick location in data coords size is the tick size in points

class matplotlib.axis.XTick(axes, loc, label, size=None, width=None, color=None, tickdir=None, pad=None, labelsize=None, labelcolor=None, zorder=None, gridOn=None, tick1On=True, tick2On=True, label1On=True, label2On=False, major=True, labelrotation=0, grid_color=None, grid_linestyle=None, grid_linewidth=None, grid_alpha=None, **kw)[source]

Contains all the Artists needed to make an x tick - the tick line, the label text and the grid line

bbox is the Bound2D bounding box in display coords of the Axes loc is the tick location in data coords size is the tick size in points

class matplotlib.axis.YTick(axes, loc, label, size=None, width=None, color=None, tickdir=None, pad=None, labelsize=None, labelcolor=None, zorder=None, gridOn=None, tick1On=True, tick2On=True, label1On=True, label2On=False, major=True, labelrotation=0, grid_color=None, grid_linestyle=None, grid_linewidth=None, grid_alpha=None, **kw)[source]

Contains all the Artists needed to make a Y tick - the tick line, the label text and the grid line

bbox is the Bound2D bounding box in display coords of the Axes loc is the tick location in data coords size is the tick size in points

Tick.apply_tickdir Calculate self._pad and self._tickmarkers
Tick.get_loc Return the tick location (data coords) as a scalar
Tick.get_pad Get the value of the tick label pad in points
Tick.get_pad_pixels
Tick.get_tick_padding Get the length of the tick outside of the axes.
Tick.get_tickdir
Tick.get_view_interval return the view Interval instance for the axis this tick is ticking
Tick.set_label1 Set the label1 text.
Tick.set_label2 Set the label2 text.
Tick.set_pad Set the tick label pad in points
Tick.update_position Set the location of tick in data coords with scalar loc

Common and inherited methods

XTick

XTick.apply_tickdir Calculate self._pad and self._tickmarkers
XTick.get_loc Return the tick location (data coords) as a scalar
XTick.get_pad Get the value of the tick label pad in points
XTick.get_pad_pixels
XTick.get_tick_padding Get the length of the tick outside of the axes.
XTick.get_tickdir
XTick.get_view_interval return the Interval instance for this axis view limits
XTick.set_label1 Set the label1 text.
XTick.set_label2 Set the label2 text.
XTick.set_pad Set the tick label pad in points
XTick.update_position Set the location of tick in data coords with scalar loc

YTick

YTick.apply_tickdir Calculate self._pad and self._tickmarkers
YTick.get_loc Return the tick location (data coords) as a scalar
YTick.get_pad Get the value of the tick label pad in points
YTick.get_pad_pixels
YTick.get_tick_padding Get the length of the tick outside of the axes.
YTick.get_tickdir
YTick.get_view_interval return the Interval instance for this axis view limits
YTick.set_label1 Set the label1 text.
YTick.set_label2 Set the label2 text.
YTick.set_pad Set the tick label pad in points
YTick.update_position Set the location of tick in data coords with scalar loc

YAxis

YAxis.OFFSETTEXTPAD
YAxis.axis_date Sets up x-axis ticks and labels that treat the x data as dates.
YAxis.cla clear the current axis
YAxis.convert_units
YAxis.get_data_interval return the Interval instance for this axis data limits
YAxis.get_gridlines Return the grid lines as a list of Line2D instance
YAxis.get_label_position Return the label position (top or bottom)
YAxis.get_label_text Get the text of the label
YAxis.get_major_formatter Get the formatter of the major ticker
YAxis.get_major_locator Get the locator of the major ticker
YAxis.get_major_ticks get the tick instances; grow as necessary
YAxis.get_majorticklabels Return a list of Text instances for the major ticklabels
YAxis.get_majorticklines Return the major tick lines as a list of Line2D instances
YAxis.get_majorticklocs Get the major tick locations in data coordinates as a numpy array
YAxis.get_minor_formatter Get the formatter of the minor ticker
YAxis.get_minor_locator Get the locator of the minor ticker
YAxis.get_minor_ticks get the minor tick instances; grow as necessary
YAxis.get_minorticklabels Return a list of Text instances for the minor ticklabels
YAxis.get_minorticklines Return the minor tick lines as a list of Line2D instances
YAxis.get_minorticklocs Get the minor tick locations in data coordinates as a numpy array
YAxis.get_minpos
YAxis.get_offset_text Return the axis offsetText as a Text instance
YAxis.get_pickradius Return the depth of the axis used by the picker
YAxis.get_scale
YAxis.get_smart_bounds get whether the axis has smart bounds
YAxis.get_tick_padding
YAxis.get_tick_space Return the estimated number of ticks that can fit on the axis.
YAxis.get_ticklabel_extents Get the extents of the tick labels on either side of the axes.
YAxis.get_ticklabels Get the tick labels as a list of Text instances.
YAxis.get_ticklines Return the tick lines as a list of Line2D instances
YAxis.get_ticklocs Get the tick locations in data coordinates as a numpy array
YAxis.get_tightbbox Return a bounding box that encloses the axis.
YAxis.get_units return the units for axis
YAxis.get_view_interval return the Interval instance for this axis view limits
YAxis.grid Configure the grid lines.
YAxis.iter_ticks Iterate through all of the major and minor ticks.
YAxis.limit_range_for_scale
YAxis.pan Pan numsteps (can be positive or negative)
YAxis.reset_ticks Re-initialize the major and minor Tick lists.
YAxis.set_data_interval set the axis data limits
YAxis.set_default_intervals set the default limits for the axis interval if they are not mutated
YAxis.set_label_coords Set the coordinates of the label.
YAxis.set_label_position Set the label position (left or right)
YAxis.set_label_text Set the text value of the axis label.
YAxis.set_major_formatter Set the formatter of the major ticker.
YAxis.set_major_locator Set the locator of the major ticker.
YAxis.set_minor_formatter Set the formatter of the minor ticker.
YAxis.set_minor_locator Set the locator of the minor ticker.
YAxis.set_pickradius Set the depth of the axis used by the picker.
YAxis.set_smart_bounds set the axis to have smart bounds
YAxis.set_tick_params Set appearance parameters for ticks, ticklabels, and gridlines.
YAxis.set_ticklabels Set the text values of the tick labels.
YAxis.set_ticks Set the locations of the tick marks from sequence ticks
YAxis.set_units set the units for axis
YAxis.set_view_interval If ignore is False, the order of vmin, vmax does not matter; the original axis orientation will be preserved.
YAxis.update_units introspect data for units converter and update the axis.converter instance if necessary.
YAxis.zoom Zoom in/out on axis; if direction is >0 zoom in, else zoom out

XAxis

XAxis.OFFSETTEXTPAD
XAxis.axis_date Sets up x-axis ticks and labels that treat the x data as dates.
XAxis.cla clear the current axis
XAxis.convert_units
XAxis.get_data_interval return the Interval instance for this axis data limits
XAxis.get_gridlines Return the grid lines as a list of Line2D instance
XAxis.get_label_position Return the label position (top or bottom)
XAxis.get_label_text Get the text of the label
XAxis.get_major_formatter Get the formatter of the major ticker
XAxis.get_major_locator Get the locator of the major ticker
XAxis.get_major_ticks get the tick instances; grow as necessary
XAxis.get_majorticklabels Return a list of Text instances for the major ticklabels
XAxis.get_majorticklines Return the major tick lines as a list of Line2D instances
XAxis.get_majorticklocs Get the major tick locations in data coordinates as a numpy array
XAxis.get_minor_formatter Get the formatter of the minor ticker
XAxis.get_minor_locator Get the locator of the minor ticker
XAxis.get_minor_ticks get the minor tick instances; grow as necessary
XAxis.get_minorticklabels Return a list of Text instances for the minor ticklabels
XAxis.get_minorticklines Return the minor tick lines as a list of Line2D instances
XAxis.get_minorticklocs Get the minor tick locations in data coordinates as a numpy array
XAxis.get_minpos
XAxis.get_offset_text Return the axis offsetText as a Text instance
XAxis.get_pickradius Return the depth of the axis used by the picker
XAxis.get_scale
XAxis.get_smart_bounds get whether the axis has smart bounds
XAxis.get_tick_padding
XAxis.get_tick_space Return the estimated number of ticks that can fit on the axis.
XAxis.get_ticklabel_extents Get the extents of the tick labels on either side of the axes.
XAxis.get_ticklabels Get the tick labels as a list of Text instances.
XAxis.get_ticklines Return the tick lines as a list of Line2D instances
XAxis.get_ticklocs Get the tick locations in data coordinates as a numpy array
XAxis.get_tightbbox Return a bounding box that encloses the axis.
XAxis.get_units return the units for axis
XAxis.get_view_interval return the Interval instance for this axis view limits
XAxis.grid Configure the grid lines.
XAxis.iter_ticks Iterate through all of the major and minor ticks.
XAxis.limit_range_for_scale
XAxis.pan Pan numsteps (can be positive or negative)
XAxis.reset_ticks Re-initialize the major and minor Tick lists.
XAxis.set_data_interval set the axis data limits
XAxis.set_default_intervals set the default limits for the axis interval if they are not mutated
XAxis.set_label_coords Set the coordinates of the label.
XAxis.set_label_position Set the label position (top or bottom)
XAxis.set_label_text Set the text value of the axis label.
XAxis.set_major_formatter Set the formatter of the major ticker.
XAxis.set_major_locator Set the locator of the major ticker.
XAxis.set_minor_formatter Set the formatter of the minor ticker.
XAxis.set_minor_locator Set the locator of the minor ticker.
XAxis.set_pickradius Set the depth of the axis used by the picker.
XAxis.set_smart_bounds set the axis to have smart bounds
XAxis.set_tick_params Set appearance parameters for ticks, ticklabels, and gridlines.
XAxis.set_ticklabels Set the text values of the tick labels.
XAxis.set_ticks Set the locations of the tick marks from sequence ticks
XAxis.set_units set the units for axis
XAxis.set_view_interval If ignore is False, the order of vmin, vmax does not matter; the original axis orientation will be preserved.
XAxis.update_units introspect data for units converter and update the axis.converter instance if necessary.
XAxis.zoom Zoom in/out on axis; if direction is >0 zoom in, else zoom out

Inherited from artist

Ticks

Tick.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
Tick.aname
Tick.axes The Axes instance the artist resides in, or None.
Tick.contains Test whether the mouse event occurred in the Tick marks.
Tick.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
Tick.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
Tick.draw Derived classes drawing method
Tick.findobj Find artist objects.
Tick.format_cursor_data Return cursor data string formatted.
Tick.get_agg_filter Return filter function to be used for agg filter.
Tick.get_alpha Return the alpha value used for blending - not supported on all backends
Tick.get_animated Return the artist's animated state
Tick.get_children Return a list of the child Artist`s this :class:`Artist contains.
Tick.get_clip_box Return artist clipbox
Tick.get_clip_on Return whether artist uses clipping
Tick.get_clip_path Return artist clip path
Tick.get_contains Return the _contains test used by the artist, or None for default.
Tick.get_cursor_data Get the cursor data for a given event.
Tick.get_figure Return the Figure instance the artist belongs to.
Tick.get_gid Returns the group id.
Tick.get_label Get the label used for this artist in the legend.
Tick.get_path_effects
Tick.get_picker Return the picker object used by this artist.
Tick.get_rasterized Return whether the artist is to be rasterized.
Tick.get_sketch_params Returns the sketch parameters for the artist.
Tick.get_snap Returns the snap setting which may be:
Tick.get_transform Return the Transform instance used by this artist.
Tick.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
Tick.get_url Returns the url.
Tick.get_visible Return the artist's visiblity
Tick.get_window_extent Get the axes bounding box in display space.
Tick.get_zorder Return the artist's zorder.
Tick.have_units Return True if units are set on the x or y axes
Tick.is_transform_set Returns True if Artist has a transform explicitly set.
Tick.mouseover
Tick.pchanged Fire an event when property changed, calling all of the registered callbacks.
Tick.pick Process pick event
Tick.pickable Return True if Artist is pickable.
Tick.properties return a dictionary mapping property name -> value for all Artist props
Tick.remove Remove the artist from the figure if possible.
Tick.remove_callback Remove a callback based on its id.
Tick.set A property batch setter.
Tick.set_agg_filter Set the agg filter.
Tick.set_alpha Set the alpha value used for blending - not supported on all backends.
Tick.set_animated Set the artist's animation state.
Tick.set_clip_box Set the artist's clip Bbox.
Tick.set_clip_on Set whether artist uses clipping.
Tick.set_clip_path Set the artist's clip path, which may be:
Tick.set_contains Replace the contains test used by this artist.
Tick.set_figure Set the Figure instance the artist belongs to.
Tick.set_gid Sets the (group) id for the artist.
Tick.set_label Set the label1 text.
Tick.set_path_effects Set the path effects.
Tick.set_picker Set the epsilon for picking used by this artist
Tick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
Tick.set_sketch_params Sets the sketch parameters.
Tick.set_snap Sets the snap setting which may be:
Tick.set_transform Set the artist transform.
Tick.set_url Sets the url for the artist.
Tick.set_visible Set the artist's visibility.
Tick.set_zorder Set the zorder for the artist.
Tick.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
Tick.update Update this artist's properties from the dictionary prop.
Tick.update_from Copy properties from other to self.
Tick.zorder
XTick.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
XTick.aname
XTick.axes The Axes instance the artist resides in, or None.
XTick.contains Test whether the mouse event occurred in the Tick marks.
XTick.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
XTick.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
XTick.draw Derived classes drawing method
XTick.findobj Find artist objects.
XTick.format_cursor_data Return cursor data string formatted.
XTick.get_agg_filter Return filter function to be used for agg filter.
XTick.get_alpha Return the alpha value used for blending - not supported on all backends
XTick.get_animated Return the artist's animated state
XTick.get_children Return a list of the child Artist`s this :class:`Artist contains.
XTick.get_clip_box Return artist clipbox
XTick.get_clip_on Return whether artist uses clipping
XTick.get_clip_path Return artist clip path
XTick.get_contains Return the _contains test used by the artist, or None for default.
XTick.get_cursor_data Get the cursor data for a given event.
XTick.get_figure Return the Figure instance the artist belongs to.
XTick.get_gid Returns the group id.
XTick.get_label Get the label used for this artist in the legend.
XTick.get_path_effects
XTick.get_picker Return the picker object used by this artist.
XTick.get_rasterized Return whether the artist is to be rasterized.
XTick.get_sketch_params Returns the sketch parameters for the artist.
XTick.get_snap Returns the snap setting which may be:
XTick.get_transform Return the Transform instance used by this artist.
XTick.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
XTick.get_url Returns the url.
XTick.get_visible Return the artist's visiblity
XTick.get_window_extent Get the axes bounding box in display space.
XTick.get_zorder Return the artist's zorder.
XTick.have_units Return True if units are set on the x or y axes
XTick.is_transform_set Returns True if Artist has a transform explicitly set.
XTick.mouseover
XTick.pchanged Fire an event when property changed, calling all of the registered callbacks.
XTick.pick Process pick event
XTick.pickable Return True if Artist is pickable.
XTick.properties return a dictionary mapping property name -> value for all Artist props
XTick.remove Remove the artist from the figure if possible.
XTick.remove_callback Remove a callback based on its id.
XTick.set A property batch setter.
XTick.set_agg_filter Set the agg filter.
XTick.set_alpha Set the alpha value used for blending - not supported on all backends.
XTick.set_animated Set the artist's animation state.
XTick.set_clip_box Set the artist's clip Bbox.
XTick.set_clip_on Set whether artist uses clipping.
XTick.set_clip_path Set the artist's clip path, which may be:
XTick.set_contains Replace the contains test used by this artist.
XTick.set_figure Set the Figure instance the artist belongs to.
XTick.set_gid Sets the (group) id for the artist.
XTick.set_label Set the label1 text.
XTick.set_path_effects Set the path effects.
XTick.set_picker Set the epsilon for picking used by this artist
XTick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
XTick.set_sketch_params Sets the sketch parameters.
XTick.set_snap Sets the snap setting which may be:
XTick.set_transform Set the artist transform.
XTick.set_url Sets the url for the artist.
XTick.set_visible Set the artist's visibility.
XTick.set_zorder Set the zorder for the artist.
XTick.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
XTick.update Update this artist's properties from the dictionary prop.
XTick.update_from Copy properties from other to self.
XTick.zorder
YTick.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
YTick.aname
YTick.axes The Axes instance the artist resides in, or None.
YTick.contains Test whether the mouse event occurred in the Tick marks.
YTick.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
YTick.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
YTick.draw Derived classes drawing method
YTick.findobj Find artist objects.
YTick.format_cursor_data Return cursor data string formatted.
YTick.get_agg_filter Return filter function to be used for agg filter.
YTick.get_alpha Return the alpha value used for blending - not supported on all backends
YTick.get_animated Return the artist's animated state
YTick.get_children Return a list of the child Artist`s this :class:`Artist contains.
YTick.get_clip_box Return artist clipbox
YTick.get_clip_on Return whether artist uses clipping
YTick.get_clip_path Return artist clip path
YTick.get_contains Return the _contains test used by the artist, or None for default.
YTick.get_cursor_data Get the cursor data for a given event.
YTick.get_figure Return the Figure instance the artist belongs to.
YTick.get_gid Returns the group id.
YTick.get_label Get the label used for this artist in the legend.
YTick.get_path_effects
YTick.get_picker Return the picker object used by this artist.
YTick.get_rasterized Return whether the artist is to be rasterized.
YTick.get_sketch_params Returns the sketch parameters for the artist.
YTick.get_snap Returns the snap setting which may be:
YTick.get_transform Return the Transform instance used by this artist.
YTick.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
YTick.get_url Returns the url.
YTick.get_visible Return the artist's visiblity
YTick.get_window_extent Get the axes bounding box in display space.
YTick.get_zorder Return the artist's zorder.
YTick.have_units Return True if units are set on the x or y axes
YTick.is_transform_set Returns True if Artist has a transform explicitly set.
YTick.mouseover
YTick.pchanged Fire an event when property changed, calling all of the registered callbacks.
YTick.pick Process pick event
YTick.pickable Return True if Artist is pickable.
YTick.properties return a dictionary mapping property name -> value for all Artist props
YTick.remove Remove the artist from the figure if possible.
YTick.remove_callback Remove a callback based on its id.
YTick.set A property batch setter.
YTick.set_agg_filter Set the agg filter.
YTick.set_alpha Set the alpha value used for blending - not supported on all backends.
YTick.set_animated Set the artist's animation state.
YTick.set_clip_box Set the artist's clip Bbox.
YTick.set_clip_on Set whether artist uses clipping.
YTick.set_clip_path Set the artist's clip path, which may be:
YTick.set_contains Replace the contains test used by this artist.
YTick.set_figure Set the Figure instance the artist belongs to.
YTick.set_gid Sets the (group) id for the artist.
YTick.set_label Set the label1 text.
YTick.set_path_effects Set the path effects.
YTick.set_picker Set the epsilon for picking used by this artist
YTick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
YTick.set_sketch_params Sets the sketch parameters.
YTick.set_snap Sets the snap setting which may be:
YTick.set_transform Set the artist transform.
YTick.set_url Sets the url for the artist.
YTick.set_visible Set the artist's visibility.
YTick.set_zorder Set the zorder for the artist.
YTick.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
YTick.update Update this artist's properties from the dictionary prop.
YTick.update_from Copy properties from other to self.
YTick.zorder

Axis

Axis.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
Axis.aname
Axis.axes The Axes instance the artist resides in, or None.
Axis.contains Test whether the artist contains the mouse event.
Axis.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
Axis.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
Axis.draw Draw the axis lines, grid lines, tick lines and labels
Axis.findobj Find artist objects.
Axis.format_cursor_data Return cursor data string formatted.
Axis.get_agg_filter Return filter function to be used for agg filter.
Axis.get_alpha Return the alpha value used for blending - not supported on all backends
Axis.get_animated Return the artist's animated state
Axis.get_children Return a list of the child Artist`s this :class:`Artist contains.
Axis.get_clip_box Return artist clipbox
Axis.get_clip_on Return whether artist uses clipping
Axis.get_clip_path Return artist clip path
Axis.get_contains Return the _contains test used by the artist, or None for default.
Axis.get_cursor_data Get the cursor data for a given event.
Axis.get_figure Return the Figure instance the artist belongs to.
Axis.get_gid Returns the group id.
Axis.get_label Return the axis label as a Text instance
Axis.get_path_effects
Axis.get_picker Return the picker object used by this artist.
Axis.get_rasterized Return whether the artist is to be rasterized.
Axis.get_sketch_params Returns the sketch parameters for the artist.
Axis.get_snap Returns the snap setting which may be:
Axis.get_transform Return the Transform instance used by this artist.
Axis.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
Axis.get_url Returns the url.
Axis.get_visible Return the artist's visiblity
Axis.get_window_extent Get the axes bounding box in display space.
Axis.get_zorder Return the artist's zorder.
Axis.have_units Return True if units are set on the x or y axes
Axis.is_transform_set Returns True if Artist has a transform explicitly set.
Axis.mouseover
Axis.pchanged Fire an event when property changed, calling all of the registered callbacks.
Axis.pick Process pick event
Axis.pickable Return True if Artist is pickable.
Axis.properties return a dictionary mapping property name -> value for all Artist props
Axis.remove Remove the artist from the figure if possible.
Axis.remove_callback Remove a callback based on its id.
Axis.set A property batch setter.
Axis.set_agg_filter Set the agg filter.
Axis.set_alpha Set the alpha value used for blending - not supported on all backends.
Axis.set_animated Set the artist's animation state.
Axis.set_clip_box Set the artist's clip Bbox.
Axis.set_clip_on Set whether artist uses clipping.
Axis.set_clip_path Set the artist's clip path, which may be:
Axis.set_contains Replace the contains test used by this artist.
Axis.set_figure Set the Figure instance the artist belongs to.
Axis.set_gid Sets the (group) id for the artist.
Axis.set_label Set the label to s for auto legend.
Axis.set_path_effects Set the path effects.
Axis.set_picker Set the epsilon for picking used by this artist
Axis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
Axis.set_sketch_params Sets the sketch parameters.
Axis.set_snap Sets the snap setting which may be:
Axis.set_transform Set the artist transform.
Axis.set_url Sets the url for the artist.
Axis.set_visible Set the artist's visibility.
Axis.set_zorder Set the zorder for the artist.
Axis.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
Axis.update Update this artist's properties from the dictionary prop.
Axis.update_from Copy properties from other to self.
Axis.zorder
XAxis.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
XAxis.aname
XAxis.axes The Axes instance the artist resides in, or None.
XAxis.contains Test whether the mouse event occurred in the x axis.
XAxis.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
XAxis.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
XAxis.draw Draw the axis lines, grid lines, tick lines and labels
XAxis.findobj Find artist objects.
XAxis.format_cursor_data Return cursor data string formatted.
XAxis.get_agg_filter Return filter function to be used for agg filter.
XAxis.get_alpha Return the alpha value used for blending - not supported on all backends
XAxis.get_animated Return the artist's animated state
XAxis.get_children Return a list of the child Artist`s this :class:`Artist contains.
XAxis.get_clip_box Return artist clipbox
XAxis.get_clip_on Return whether artist uses clipping
XAxis.get_clip_path Return artist clip path
XAxis.get_contains Return the _contains test used by the artist, or None for default.
XAxis.get_cursor_data Get the cursor data for a given event.
XAxis.get_figure Return the Figure instance the artist belongs to.
XAxis.get_gid Returns the group id.
XAxis.get_label Return the axis label as a Text instance
XAxis.get_path_effects
XAxis.get_picker Return the picker object used by this artist.
XAxis.get_rasterized Return whether the artist is to be rasterized.
XAxis.get_sketch_params Returns the sketch parameters for the artist.
XAxis.get_snap Returns the snap setting which may be:
XAxis.get_transform Return the Transform instance used by this artist.
XAxis.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
XAxis.get_url Returns the url.
XAxis.get_visible Return the artist's visiblity
XAxis.get_window_extent Get the axes bounding box in display space.
XAxis.get_zorder Return the artist's zorder.
XAxis.have_units Return True if units are set on the x or y axes
XAxis.is_transform_set Returns True if Artist has a transform explicitly set.
XAxis.mouseover
XAxis.pchanged Fire an event when property changed, calling all of the registered callbacks.
XAxis.pick Process pick event
XAxis.pickable Return True if Artist is pickable.
XAxis.properties return a dictionary mapping property name -> value for all Artist props
XAxis.remove Remove the artist from the figure if possible.
XAxis.remove_callback Remove a callback based on its id.
XAxis.set A property batch setter.
XAxis.set_agg_filter Set the agg filter.
XAxis.set_alpha Set the alpha value used for blending - not supported on all backends.
XAxis.set_animated Set the artist's animation state.
XAxis.set_clip_box Set the artist's clip Bbox.
XAxis.set_clip_on Set whether artist uses clipping.
XAxis.set_clip_path Set the artist's clip path, which may be:
XAxis.set_contains Replace the contains test used by this artist.
XAxis.set_figure Set the Figure instance the artist belongs to.
XAxis.set_gid Sets the (group) id for the artist.
XAxis.set_label Set the label to s for auto legend.
XAxis.set_path_effects Set the path effects.
XAxis.set_picker Set the epsilon for picking used by this artist
XAxis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
XAxis.set_sketch_params Sets the sketch parameters.
XAxis.set_snap Sets the snap setting which may be:
XAxis.set_transform Set the artist transform.
XAxis.set_url Sets the url for the artist.
XAxis.set_visible Set the artist's visibility.
XAxis.set_zorder Set the zorder for the artist.
XAxis.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
XAxis.update Update this artist's properties from the dictionary prop.
XAxis.update_from Copy properties from other to self.
XAxis.zorder
YAxis.add_callback Adds a callback function that will be called whenever one of the Artist's properties changes.
YAxis.aname
YAxis.axes The Axes instance the artist resides in, or None.
YAxis.contains Test whether the mouse event occurred in the y axis.
YAxis.convert_xunits For artists in an axes, if the xaxis has units support, convert x using xaxis unit type
YAxis.convert_yunits For artists in an axes, if the yaxis has units support, convert y using yaxis unit type
YAxis.draw Draw the axis lines, grid lines, tick lines and labels
YAxis.findobj Find artist objects.
YAxis.format_cursor_data Return cursor data string formatted.
YAxis.get_agg_filter Return filter function to be used for agg filter.
YAxis.get_alpha Return the alpha value used for blending - not supported on all backends
YAxis.get_animated Return the artist's animated state
YAxis.get_children Return a list of the child Artist`s this :class:`Artist contains.
YAxis.get_clip_box Return artist clipbox
YAxis.get_clip_on Return whether artist uses clipping
YAxis.get_clip_path Return artist clip path
YAxis.get_contains Return the _contains test used by the artist, or None for default.
YAxis.get_cursor_data Get the cursor data for a given event.
YAxis.get_figure Return the Figure instance the artist belongs to.
YAxis.get_gid Returns the group id.
YAxis.get_label Return the axis label as a Text instance
YAxis.get_path_effects
YAxis.get_picker Return the picker object used by this artist.
YAxis.get_rasterized Return whether the artist is to be rasterized.
YAxis.get_sketch_params Returns the sketch parameters for the artist.
YAxis.get_snap Returns the snap setting which may be:
YAxis.get_transform Return the Transform instance used by this artist.
YAxis.get_transformed_clip_path_and_affine Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
YAxis.get_url Returns the url.
YAxis.get_visible Return the artist's visiblity
YAxis.get_window_extent Get the axes bounding box in display space.
YAxis.get_zorder Return the artist's zorder.
YAxis.have_units Return True if units are set on the x or y axes
YAxis.is_transform_set Returns True if Artist has a transform explicitly set.
YAxis.mouseover
YAxis.pchanged Fire an event when property changed, calling all of the registered callbacks.
YAxis.pick Process pick event
YAxis.pickable Return True if Artist is pickable.
YAxis.properties return a dictionary mapping property name -> value for all Artist props
YAxis.remove Remove the artist from the figure if possible.
YAxis.remove_callback Remove a callback based on its id.
YAxis.set A property batch setter.
YAxis.set_agg_filter Set the agg filter.
YAxis.set_alpha Set the alpha value used for blending - not supported on all backends.
YAxis.set_animated Set the artist's animation state.
YAxis.set_clip_box Set the artist's clip Bbox.
YAxis.set_clip_on Set whether artist uses clipping.
YAxis.set_clip_path Set the artist's clip path, which may be:
YAxis.set_contains Replace the contains test used by this artist.
YAxis.set_figure Set the Figure instance the artist belongs to.
YAxis.set_gid Sets the (group) id for the artist.
YAxis.set_label Set the label to s for auto legend.
YAxis.set_path_effects Set the path effects.
YAxis.set_picker Set the epsilon for picking used by this artist
YAxis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
YAxis.set_sketch_params Sets the sketch parameters.
YAxis.set_snap Sets the snap setting which may be:
YAxis.set_transform Set the artist transform.
YAxis.set_url Sets the url for the artist.
YAxis.set_visible Set the artist's visibility.
YAxis.set_zorder Set the zorder for the artist.
YAxis.stale If the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist.
YAxis.update Update this artist's properties from the dictionary prop.
YAxis.update_from Copy properties from other to self.
YAxis.zorder