You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.0.post904+g194370762
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

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 Add a callback function that will be called whenever one of the Artist's properties changes.
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 Convert x using the unit type of the xaxis.
Tick.convert_yunits Convert y using the unit type of the yaxis.
Tick.draw Draw the Artist using the given renderer.
Tick.findobj Find artist objects.
Tick.format_cursor_data Return a string representation of data.
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 animated state.
Tick.get_children Return a list of the child Artists this Artist contains.
Tick.get_clip_box Return the clipbox.
Tick.get_clip_on Return whether the artist uses clipping.
Tick.get_clip_path Return the clip path.
Tick.get_contains Return the custom contains function of the artist if set, or None.
Tick.get_cursor_data Return the cursor data for a given event.
Tick.get_figure Return the Figure instance the artist belongs to.
Tick.get_gid Return the group id.
Tick.get_label Return the label used for this artist in the legend.
Tick.get_path_effects
Tick.get_picker Return the picking behavior of the 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.
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 Return the url.
Tick.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
Tick.mouseover
Tick.pchanged Call all of the registered callbacks.
Tick.pick Process a pick event.
Tick.pickable Return whether the artist is pickable.
Tick.properties Return a dictionary of all the properties of the artist.
Tick.remove Remove the artist from the figure if possible.
Tick.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
Tick.set_clip_path Set the artist's clip path, which may be:
Tick.set_contains Define a custom contains test for the artist.
Tick.set_figure Set the Figure instance the artist belongs to.
Tick.set_gid Set the (group) id for the artist.
Tick.set_label Set the label1 text.
Tick.set_path_effects Set the path effects.
Tick.set_picker Define the picking behavior of the artist.
Tick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
Tick.set_sketch_params Sets the sketch parameters.
Tick.set_snap Set the snapping behavior.
Tick.set_transform Set the artist transform.
Tick.set_url Set the url for the artist.
Tick.set_visible Set the artist's visibility.
Tick.set_zorder Set the zorder for the artist.
Tick.stale Whether 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 props.
Tick.update_from Copy properties from other to self.
Tick.zorder
XTick.add_callback Add a callback function that will be called whenever one of the Artist's properties changes.
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 Convert x using the unit type of the xaxis.
XTick.convert_yunits Convert y using the unit type of the yaxis.
XTick.draw Draw the Artist using the given renderer.
XTick.findobj Find artist objects.
XTick.format_cursor_data Return a string representation of data.
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 animated state.
XTick.get_children Return a list of the child Artists this Artist contains.
XTick.get_clip_box Return the clipbox.
XTick.get_clip_on Return whether the artist uses clipping.
XTick.get_clip_path Return the clip path.
XTick.get_contains Return the custom contains function of the artist if set, or None.
XTick.get_cursor_data Return the cursor data for a given event.
XTick.get_figure Return the Figure instance the artist belongs to.
XTick.get_gid Return the group id.
XTick.get_label Return the label used for this artist in the legend.
XTick.get_path_effects
XTick.get_picker Return the picking behavior of the 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.
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 Return the url.
XTick.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
XTick.mouseover
XTick.pchanged Call all of the registered callbacks.
XTick.pick Process a pick event.
XTick.pickable Return whether the artist is pickable.
XTick.properties Return a dictionary of all the properties of the artist.
XTick.remove Remove the artist from the figure if possible.
XTick.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
XTick.set_clip_path Set the artist's clip path, which may be:
XTick.set_contains Define a custom contains test for the artist.
XTick.set_figure Set the Figure instance the artist belongs to.
XTick.set_gid Set the (group) id for the artist.
XTick.set_label Set the label1 text.
XTick.set_path_effects Set the path effects.
XTick.set_picker Define the picking behavior of the artist.
XTick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
XTick.set_sketch_params Sets the sketch parameters.
XTick.set_snap Set the snapping behavior.
XTick.set_transform Set the artist transform.
XTick.set_url Set the url for the artist.
XTick.set_visible Set the artist's visibility.
XTick.set_zorder Set the zorder for the artist.
XTick.stale Whether 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 props.
XTick.update_from Copy properties from other to self.
XTick.zorder
YTick.add_callback Add a callback function that will be called whenever one of the Artist's properties changes.
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 Convert x using the unit type of the xaxis.
YTick.convert_yunits Convert y using the unit type of the yaxis.
YTick.draw Draw the Artist using the given renderer.
YTick.findobj Find artist objects.
YTick.format_cursor_data Return a string representation of data.
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 animated state.
YTick.get_children Return a list of the child Artists this Artist contains.
YTick.get_clip_box Return the clipbox.
YTick.get_clip_on Return whether the artist uses clipping.
YTick.get_clip_path Return the clip path.
YTick.get_contains Return the custom contains function of the artist if set, or None.
YTick.get_cursor_data Return the cursor data for a given event.
YTick.get_figure Return the Figure instance the artist belongs to.
YTick.get_gid Return the group id.
YTick.get_label Return the label used for this artist in the legend.
YTick.get_path_effects
YTick.get_picker Return the picking behavior of the 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.
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 Return the url.
YTick.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
YTick.mouseover
YTick.pchanged Call all of the registered callbacks.
YTick.pick Process a pick event.
YTick.pickable Return whether the artist is pickable.
YTick.properties Return a dictionary of all the properties of the artist.
YTick.remove Remove the artist from the figure if possible.
YTick.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
YTick.set_clip_path Set the artist's clip path, which may be:
YTick.set_contains Define a custom contains test for the artist.
YTick.set_figure Set the Figure instance the artist belongs to.
YTick.set_gid Set the (group) id for the artist.
YTick.set_label Set the label1 text.
YTick.set_path_effects Set the path effects.
YTick.set_picker Define the picking behavior of the artist.
YTick.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
YTick.set_sketch_params Sets the sketch parameters.
YTick.set_snap Set the snapping behavior.
YTick.set_transform Set the artist transform.
YTick.set_url Set the url for the artist.
YTick.set_visible Set the artist's visibility.
YTick.set_zorder Set the zorder for the artist.
YTick.stale Whether 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 props.
YTick.update_from Copy properties from other to self.
YTick.zorder

Axis

Axis.add_callback Add a callback function that will be called whenever one of the Artist's properties changes.
Axis.axes The Axes instance the artist resides in, or None.
Axis.contains Test whether the artist contains the mouse event.
Axis.convert_xunits Convert x using the unit type of the xaxis.
Axis.convert_yunits Convert y using the unit type of the yaxis.
Axis.draw Draw the axis lines, grid lines, tick lines and labels
Axis.findobj Find artist objects.
Axis.format_cursor_data Return a string representation of data.
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 animated state.
Axis.get_children Return a list of the child Artists this Artist contains.
Axis.get_clip_box Return the clipbox.
Axis.get_clip_on Return whether the artist uses clipping.
Axis.get_clip_path Return the clip path.
Axis.get_contains Return the custom contains function of the artist if set, or None.
Axis.get_cursor_data Return the cursor data for a given event.
Axis.get_figure Return the Figure instance the artist belongs to.
Axis.get_gid Return the group id.
Axis.get_label Return the axis label as a Text instance
Axis.get_path_effects
Axis.get_picker Return the picking behavior of the 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.
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 Return the url.
Axis.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
Axis.mouseover
Axis.pchanged Call all of the registered callbacks.
Axis.pick Process a pick event.
Axis.pickable Return whether the artist is pickable.
Axis.properties Return a dictionary of all the properties of the artist.
Axis.remove Remove the artist from the figure if possible.
Axis.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
Axis.set_clip_path Set the artist's clip path, which may be:
Axis.set_contains Define a custom contains test for the artist.
Axis.set_figure Set the Figure instance the artist belongs to.
Axis.set_gid Set the (group) id for the artist.
Axis.set_label Set a label that will be displayed in the legend.
Axis.set_path_effects Set the path effects.
Axis.set_picker Define the picking behavior of the artist.
Axis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
Axis.set_sketch_params Sets the sketch parameters.
Axis.set_snap Set the snapping behavior.
Axis.set_transform Set the artist transform.
Axis.set_url Set the url for the artist.
Axis.set_visible Set the artist's visibility.
Axis.set_zorder Set the zorder for the artist.
Axis.stale Whether 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 props.
Axis.update_from Copy properties from other to self.
Axis.zorder
XAxis.add_callback Add a callback function that will be called whenever one of the Artist's properties changes.
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 Convert x using the unit type of the xaxis.
XAxis.convert_yunits Convert y using the unit type of the yaxis.
XAxis.draw Draw the axis lines, grid lines, tick lines and labels
XAxis.findobj Find artist objects.
XAxis.format_cursor_data Return a string representation of data.
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 animated state.
XAxis.get_children Return a list of the child Artists this Artist contains.
XAxis.get_clip_box Return the clipbox.
XAxis.get_clip_on Return whether the artist uses clipping.
XAxis.get_clip_path Return the clip path.
XAxis.get_contains Return the custom contains function of the artist if set, or None.
XAxis.get_cursor_data Return the cursor data for a given event.
XAxis.get_figure Return the Figure instance the artist belongs to.
XAxis.get_gid Return the group id.
XAxis.get_label Return the axis label as a Text instance
XAxis.get_path_effects
XAxis.get_picker Return the picking behavior of the 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.
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 Return the url.
XAxis.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
XAxis.mouseover
XAxis.pchanged Call all of the registered callbacks.
XAxis.pick Process a pick event.
XAxis.pickable Return whether the artist is pickable.
XAxis.properties Return a dictionary of all the properties of the artist.
XAxis.remove Remove the artist from the figure if possible.
XAxis.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
XAxis.set_clip_path Set the artist's clip path, which may be:
XAxis.set_contains Define a custom contains test for the artist.
XAxis.set_figure Set the Figure instance the artist belongs to.
XAxis.set_gid Set the (group) id for the artist.
XAxis.set_label Set a label that will be displayed in the legend.
XAxis.set_path_effects Set the path effects.
XAxis.set_picker Define the picking behavior of the artist.
XAxis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
XAxis.set_sketch_params Sets the sketch parameters.
XAxis.set_snap Set the snapping behavior.
XAxis.set_transform Set the artist transform.
XAxis.set_url Set the url for the artist.
XAxis.set_visible Set the artist's visibility.
XAxis.set_zorder Set the zorder for the artist.
XAxis.stale Whether 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 props.
XAxis.update_from Copy properties from other to self.
XAxis.zorder
YAxis.add_callback Add a callback function that will be called whenever one of the Artist's properties changes.
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 Convert x using the unit type of the xaxis.
YAxis.convert_yunits Convert y using the unit type of the yaxis.
YAxis.draw Draw the axis lines, grid lines, tick lines and labels
YAxis.findobj Find artist objects.
YAxis.format_cursor_data Return a string representation of data.
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 animated state.
YAxis.get_children Return a list of the child Artists this Artist contains.
YAxis.get_clip_box Return the clipbox.
YAxis.get_clip_on Return whether the artist uses clipping.
YAxis.get_clip_path Return the clip path.
YAxis.get_contains Return the custom contains function of the artist if set, or None.
YAxis.get_cursor_data Return the cursor data for a given event.
YAxis.get_figure Return the Figure instance the artist belongs to.
YAxis.get_gid Return the group id.
YAxis.get_label Return the axis label as a Text instance
YAxis.get_path_effects
YAxis.get_picker Return the picking behavior of the 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.
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 Return the url.
YAxis.get_visible Return the visibility.
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 Return whether the Artist has an explicitly set transform.
YAxis.mouseover
YAxis.pchanged Call all of the registered callbacks.
YAxis.pick Process a pick event.
YAxis.pickable Return whether the artist is pickable.
YAxis.properties Return a dictionary of all the properties of the artist.
YAxis.remove Remove the artist from the figure if possible.
YAxis.remove_callback Remove a callback based on its observer 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 the artist uses clipping.
YAxis.set_clip_path Set the artist's clip path, which may be:
YAxis.set_contains Define a custom contains test for the artist.
YAxis.set_figure Set the Figure instance the artist belongs to.
YAxis.set_gid Set the (group) id for the artist.
YAxis.set_label Set a label that will be displayed in the legend.
YAxis.set_path_effects Set the path effects.
YAxis.set_picker Define the picking behavior of the artist.
YAxis.set_rasterized Force rasterized (bitmap) drawing in vector backend output.
YAxis.set_sketch_params Sets the sketch parameters.
YAxis.set_snap Set the snapping behavior.
YAxis.set_transform Set the artist transform.
YAxis.set_url Set the url for the artist.
YAxis.set_visible Set the artist's visibility.
YAxis.set_zorder Set the zorder for the artist.
YAxis.stale Whether 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 props.
YAxis.update_from Copy properties from other to self.
YAxis.zorder