Movatterモバイル変換


[0]ホーム

URL:


You are reading an old version of the documentation (v2.0.0). For the latest version seehttps://matplotlib.org/stable/api/axis_api.html
matplotlib

Navigation


Travis-CI:

Table Of Contents

Related Topics

This Page

Quick search

axis and tick API

Classes for the ticks and x and y axis

Axis objects

classmatplotlib.axis.Axis(axes,pickradius=15)

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

classmatplotlib.axis.XAxis(axes,pickradius=15)

Init the axis with the parent Axes instance

classmatplotlib.axis.YAxis(axes,pickradius=15)

Init the axis with the parent Axes instance

classmatplotlib.axis.Ticker
Axis.claclear the current axis
Axis.get_scale

Formatters and Locators

Axis.get_major_formatterGet the formatter of the major ticker
Axis.get_major_locatorGet the locator of the major ticker
Axis.get_minor_formatterGet the formatter of the minor ticker
Axis.get_minor_locatorGet the locator of the minor ticker
Axis.set_major_formatterSet the formatter of the major ticker
Axis.set_major_locatorSet the locator of the major ticker
Axis.set_minor_formatterSet the formatter of the minor ticker
Axis.set_minor_locatorSet the locator of the minor ticker

Axis Label

Axis.set_label_coordsSet the coordinates of the label.
Axis.set_label_positionSet the label position (top or bottom)
Axis.set_label_textSets the text value of the axis label
Axis.get_label_positionReturn the label position (top or bottom)
Axis.get_label_textGet the text of the label

Ticks, tick labels and Offset text

Axis.get_major_ticksget the tick instances; grow as necessary
Axis.get_majorticklabelsReturn a list of Text instances for the major ticklabels
Axis.get_majorticklinesReturn the major tick lines as a list of Line2D instances
Axis.get_majorticklocsGet the major tick locations in data coordinates as a numpy array
Axis.get_minor_ticksget the minor tick instances; grow as necessary
Axis.get_minorticklabelsReturn a list of Text instances for the minor ticklabels
Axis.get_minorticklinesReturn the minor tick lines as a list of Line2D instances
Axis.get_minorticklocsGet the minor tick locations in data coordinates as a numpy array
Axis.get_offset_textReturn the axis offsetText as a Text instance
Axis.get_tick_padding
Axis.get_ticklabelsGet the x tick labels as a list ofText instances.
Axis.get_ticklinesReturn the tick lines as a list of Line2D instances
Axis.get_ticklocsGet the tick locations in data coordinates as a numpy array
Axis.get_gridlinesReturn the grid lines as a list of Line2D instance
Axis.gridSet the axis grid on or off; b is a boolean.
Axis.iter_ticksIterate through all of the major and minor ticks.
Axis.set_tick_paramsSet appearance parameters for ticks and ticklabels.
Axis.axis_dateSets up x-axis ticks and labels that treat the x data as dates.

Data and view internvals

Axis.get_data_intervalreturn the Interval instance for this axis data limits
Axis.get_view_intervalreturn the Interval instance for this axis view limits
Axis.set_data_intervalset the axis data limits
Axis.set_view_interval

Rendering helpers

Axis.get_minpos
Axis.get_tick_spaceReturn the estimated number of ticks that can fit on the axis.
Axis.get_ticklabel_extentsGet the extents of the tick labels on either side of the axes.
Axis.get_tightbboxReturn a bounding box that encloses the axis.

Interactive

Axis.get_pickradiusReturn the depth of the axis used by the picker
Axis.set_pickradiusSet the depth of the axis used by the picker

Units

Axis.convert_units
Axis.set_unitsset the units for axis
Axis.get_unitsreturn the units for axis
Axis.update_unitsintrospectdata for units converter and update the

Incremental navigation

Axis.panPannumsteps (can be positive or negative)
Axis.zoomZoom in/out on axis; ifdirection is >0 zoom in, else zoom out

YAxis Specific

YAxis.axis_name
YAxis.get_text_widths
YAxis.get_ticks_positionReturn the ticks position (left, right, both or unknown)
YAxis.set_offset_position
YAxis.set_ticks_positionSet 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_leftuse ticks only on left
YAxis.tick_rightuse ticks only on right

XAxis Specific

XAxis.axis_name
XAxis.get_text_heightsReturns the amount of space one should reserve for text above and below the axes.
XAxis.get_ticks_positionReturn the ticks position (top, bottom, default or unknown)
XAxis.set_ticks_positionSet 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_bottomuse ticks only on bottom
XAxis.tick_topuse ticks only on top

Other

Axis.OFFSETTEXTPAD
Axis.limit_range_for_scale
Axis.reset_ticks
Axis.set_default_intervalsset the default limits for the axis data and view interval if they
Axis.get_smart_boundsget whether the axis has smart bounds
Axis.set_smart_boundsset the axis to have smart bounds

Discouraged

These methods implicitly useFixedLocator andFixedFormatter. They can be convenient, but ifnot used together may de-couple your tick labels from your data.

Axis.set_ticklabelsSet the text values of the tick labels.
Axis.set_ticksSet the locations of the tick marks from sequence ticks

Tick objects

classmatplotlib.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)

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 yticks2 refers to the top of the plot for xticks and the right for yticks

Publicly accessible attributes:

tick1line
a Line2D instance
tick2line
a Line2D instance
gridline
a Line2D instance
label1
a Text instance
label2
a Text instance
gridOn
a boolean which determines whether to draw the tickline
tick1On
a boolean which determines whether to draw the 1st tickline
tick2On
a boolean which determines whether to draw the 2nd tickline
label1On
a boolean which determines whether to draw tick label
label2On
a boolean which determines whether to draw tick label

bbox is the Bound2D bounding box in display coords of the Axesloc is the tick location in data coordssize is the tick size in points

classmatplotlib.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)

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 Axesloc is the tick location in data coordssize is the tick size in points

classmatplotlib.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)

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 Axesloc is the tick location in data coordssize is the tick size in points

Tick.apply_tickdirCalculate self._pad and self._tickmarkers
Tick.get_locReturn the tick location (data coords) as a scalar
Tick.get_padGet the value of the tick label pad in points
Tick.get_pad_pixels
Tick.get_tick_paddingGet the length of the tick outside of the axes.
Tick.get_tickdir
Tick.get_view_intervalreturn the view Interval instance for the axis this tick is ticking
Tick.set_label1Set the text of ticklabel
Tick.set_label2Set the text of ticklabel2
Tick.set_padSet the tick label pad in points
Tick.update_positionSet the location of tick in data coords with scalarloc

Common and inherited methods

XTick

XTick.apply_tickdir
XTick.get_locReturn the tick location (data coords) as a scalar
XTick.get_padGet the value of the tick label pad in points
XTick.get_pad_pixels
XTick.get_tick_paddingGet the length of the tick outside of the axes.
XTick.get_tickdir
XTick.get_view_intervalreturn the Interval instance for this axis view limits
XTick.set_label1Set the text of ticklabel
XTick.set_label2Set the text of ticklabel2
XTick.set_padSet the tick label pad in points
XTick.update_positionSet the location of tick in data coords with scalarloc

YTick

YTick.apply_tickdir
YTick.get_locReturn the tick location (data coords) as a scalar
YTick.get_padGet the value of the tick label pad in points
YTick.get_pad_pixels
YTick.get_tick_paddingGet the length of the tick outside of the axes.
YTick.get_tickdir
YTick.get_view_intervalreturn the Interval instance for this axis view limits
YTick.set_label1Set the text of ticklabel
YTick.set_label2Set the text of ticklabel2
YTick.set_padSet the tick label pad in points
YTick.update_positionSet the location of tick in data coords with scalar loc

YAxis

YAxis.OFFSETTEXTPAD
YAxis.axis_dateSets up x-axis ticks and labels that treat the x data as dates.
YAxis.claclear the current axis
YAxis.convert_units
YAxis.get_data_intervalreturn the Interval instance for this axis data limits
YAxis.get_gridlinesReturn the grid lines as a list of Line2D instance
YAxis.get_label_positionReturn the label position (top or bottom)
YAxis.get_label_textGet the text of the label
YAxis.get_major_formatterGet the formatter of the major ticker
YAxis.get_major_locatorGet the locator of the major ticker
YAxis.get_major_ticksget the tick instances; grow as necessary
YAxis.get_majorticklabelsReturn a list of Text instances for the major ticklabels
YAxis.get_majorticklinesReturn the major tick lines as a list of Line2D instances
YAxis.get_majorticklocsGet the major tick locations in data coordinates as a numpy array
YAxis.get_minor_formatterGet the formatter of the minor ticker
YAxis.get_minor_locatorGet the locator of the minor ticker
YAxis.get_minor_ticksget the minor tick instances; grow as necessary
YAxis.get_minorticklabelsReturn a list of Text instances for the minor ticklabels
YAxis.get_minorticklinesReturn the minor tick lines as a list of Line2D instances
YAxis.get_minorticklocsGet the minor tick locations in data coordinates as a numpy array
YAxis.get_minpos
YAxis.get_offset_textReturn the axis offsetText as a Text instance
YAxis.get_pickradiusReturn the depth of the axis used by the picker
YAxis.get_scale
YAxis.get_smart_boundsget whether the axis has smart bounds
YAxis.get_tick_padding
YAxis.get_tick_space
YAxis.get_ticklabel_extentsGet the extents of the tick labels on either side of the axes.
YAxis.get_ticklabelsGet the x tick labels as a list ofText instances.
YAxis.get_ticklinesReturn the tick lines as a list of Line2D instances
YAxis.get_ticklocsGet the tick locations in data coordinates as a numpy array
YAxis.get_tightbboxReturn a bounding box that encloses the axis.
YAxis.get_unitsreturn the units for axis
YAxis.get_view_intervalreturn the Interval instance for this axis view limits
YAxis.gridSet the axis grid on or off; b is a boolean.
YAxis.iter_ticksIterate through all of the major and minor ticks.
YAxis.limit_range_for_scale
YAxis.panPannumsteps (can be positive or negative)
YAxis.reset_ticks
YAxis.set_data_intervalset the axis data limits
YAxis.set_default_intervalsset the default limits for the axis interval if they are not mutated
YAxis.set_label_coordsSet the coordinates of the label.
YAxis.set_label_positionSet the label position (left or right)
YAxis.set_label_textSets the text value of the axis label
YAxis.set_major_formatterSet the formatter of the major ticker
YAxis.set_major_locatorSet the locator of the major ticker
YAxis.set_minor_formatterSet the formatter of the minor ticker
YAxis.set_minor_locatorSet the locator of the minor ticker
YAxis.set_pickradiusSet the depth of the axis used by the picker
YAxis.set_smart_boundsset the axis to have smart bounds
YAxis.set_tick_paramsSet appearance parameters for ticks and ticklabels.
YAxis.set_ticklabelsSet the text values of the tick labels.
YAxis.set_ticksSet the locations of the tick marks from sequence ticks
YAxis.set_unitsset the units for axis
YAxis.set_view_intervalIfignore isFalse, the order of vmin, vmax does not matter; the original axis orientation will be preserved.
YAxis.update_unitsintrospectdata for units converter and update the
YAxis.zoomZoom in/out on axis; ifdirection is >0 zoom in, else zoom out

YAxis

XAxis.OFFSETTEXTPAD
XAxis.axis_dateSets up x-axis ticks and labels that treat the x data as dates.
XAxis.claclear the current axis
XAxis.convert_units
XAxis.get_data_intervalreturn the Interval instance for this axis data limits
XAxis.get_gridlinesReturn the grid lines as a list of Line2D instance
XAxis.get_label_positionReturn the label position (top or bottom)
XAxis.get_label_textGet the text of the label
XAxis.get_major_formatterGet the formatter of the major ticker
XAxis.get_major_locatorGet the locator of the major ticker
XAxis.get_major_ticksget the tick instances; grow as necessary
XAxis.get_majorticklabelsReturn a list of Text instances for the major ticklabels
XAxis.get_majorticklinesReturn the major tick lines as a list of Line2D instances
XAxis.get_majorticklocsGet the major tick locations in data coordinates as a numpy array
XAxis.get_minor_formatterGet the formatter of the minor ticker
XAxis.get_minor_locatorGet the locator of the minor ticker
XAxis.get_minor_ticksget the minor tick instances; grow as necessary
XAxis.get_minorticklabelsReturn a list of Text instances for the minor ticklabels
XAxis.get_minorticklinesReturn the minor tick lines as a list of Line2D instances
XAxis.get_minorticklocsGet the minor tick locations in data coordinates as a numpy array
XAxis.get_minpos
XAxis.get_offset_textReturn the axis offsetText as a Text instance
XAxis.get_pickradiusReturn the depth of the axis used by the picker
XAxis.get_scale
XAxis.get_smart_boundsget whether the axis has smart bounds
XAxis.get_tick_padding
XAxis.get_tick_space
XAxis.get_ticklabel_extentsGet the extents of the tick labels on either side of the axes.
XAxis.get_ticklabelsGet the x tick labels as a list ofText instances.
XAxis.get_ticklinesReturn the tick lines as a list of Line2D instances
XAxis.get_ticklocsGet the tick locations in data coordinates as a numpy array
XAxis.get_tightbboxReturn a bounding box that encloses the axis.
XAxis.get_unitsreturn the units for axis
XAxis.get_view_intervalreturn the Interval instance for this axis view limits
XAxis.gridSet the axis grid on or off; b is a boolean.
XAxis.iter_ticksIterate through all of the major and minor ticks.
XAxis.limit_range_for_scale
XAxis.panPannumsteps (can be positive or negative)
XAxis.reset_ticks
XAxis.set_data_intervalset the axis data limits
XAxis.set_default_intervalsset the default limits for the axis interval if they are not mutated
XAxis.set_label_coordsSet the coordinates of the label.
XAxis.set_label_positionSet the label position (top or bottom)
XAxis.set_label_textSets the text value of the axis label
XAxis.set_major_formatterSet the formatter of the major ticker
XAxis.set_major_locatorSet the locator of the major ticker
XAxis.set_minor_formatterSet the formatter of the minor ticker
XAxis.set_minor_locatorSet the locator of the minor ticker
XAxis.set_pickradiusSet the depth of the axis used by the picker
XAxis.set_smart_boundsset the axis to have smart bounds
XAxis.set_tick_paramsSet appearance parameters for ticks and ticklabels.
XAxis.set_ticklabelsSet the text values of the tick labels.
XAxis.set_ticksSet the locations of the tick marks from sequence ticks
XAxis.set_unitsset the units for axis
XAxis.set_view_intervalIfignore isFalse, the order of vmin, vmax does not matter; the original axis orientation will be preserved.
XAxis.update_unitsintrospectdata for units converter and update the
XAxis.zoomZoom in/out on axis; ifdirection is >0 zoom in, else zoom out

Inherited from artist

Ticks

Tick.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
Tick.aname
Tick.axesTheAxes instance the artist resides in, orNone.
Tick.containsTest whether the mouse event occurred in the Tick marks.
Tick.convert_xunitsFor artists in an axes, if the xaxis has units support,
Tick.convert_yunitsFor artists in an axes, if the yaxis has units support,
Tick.draw
Tick.findobjFind artist objects.
Tick.format_cursor_dataReturncursor data string formatted.
Tick.get_agg_filterreturn filter function to be used for agg filter
Tick.get_alphaReturn the alpha value used for blending - not supported on all
Tick.get_animatedReturn the artist’s animated state
Tick.get_axesReturn theAxes instance the artist resides in, orNone.
Tick.get_children
Tick.get_clip_boxReturn artist clipbox
Tick.get_clip_onReturn whether artist uses clipping
Tick.get_clip_pathReturn artist clip path
Tick.get_containsReturn the _contains test used by the artist, orNone for default.
Tick.get_cursor_dataGet the cursor data for a given event.
Tick.get_figureReturn theFigure instance the artist belongs to.
Tick.get_gidReturns the group id
Tick.get_labelGet the label used for this artist in the legend.
Tick.get_path_effects
Tick.get_pickerReturn the picker object used by this artist
Tick.get_rasterizedreturn True if the artist is to be rasterized
Tick.get_sketch_paramsReturns the sketch parameters for the artist.
Tick.get_snapReturns the snap setting which may be:
Tick.get_transformReturn theTransform instance used by this artist.
Tick.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
Tick.get_urlReturns the url
Tick.get_visibleReturn the artist’s visiblity
Tick.get_window_extentGet the axes bounding box in display space.
Tick.get_zorderReturn theArtist‘s zorder.
Tick.have_unitsReturnTrue if units are set on thex ory axes
Tick.hitlistList the children of the artist which contain the mouse eventevent.
Tick.is_figure_setReturns True if the artist is assigned to aFigure.
Tick.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
Tick.mouseover
Tick.pchangedFire an event when property changed, calling all of the registered callbacks.
Tick.pickProcess pick event
Tick.pickableReturnTrue ifArtist is pickable.
Tick.propertiesreturn a dictionary mapping property name -> value for all Artist props
Tick.removeRemove the artist from the figure if possible.
Tick.remove_callbackRemove a callback based on itsid.
Tick.setA property batch setter.
Tick.set_agg_filterset agg_filter fuction.
Tick.set_alphaSet the alpha value used for blending - not supported on all backends.
Tick.set_animatedSet the artist’s animation state.
Tick.set_axesSet theAxes instance in which the artist resides, if any.
Tick.set_clip_boxSet the artist’s clipBbox.
Tick.set_clip_onSet whether artist uses clipping.
Tick.set_clip_pathSet the artist’s clip path, which may be:
Tick.set_containsReplace the contains test used by this artist.
Tick.set_figureSet theFigure instance the artist belongs to.
Tick.set_gidSets the (group) id for the artist
Tick.set_labelSet the text of ticklabel
Tick.set_path_effectsset path_effects, which should be a list of instances of
Tick.set_pickerSet the epsilon for picking used by this artist
Tick.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
Tick.set_sketch_paramsSets the sketch parameters.
Tick.set_snapSets the snap setting which may be:
Tick.set_transformSet theTransform instance used by this artist.
Tick.set_urlSets the url for the artist
Tick.set_visibleSet the artist’s visiblity.
Tick.set_zorderSet the zorder for the artist.
Tick.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
Tick.updateUpdate the properties of thisArtist from the dictionaryprop.
Tick.update_fromCopy properties fromother toself.
Tick.zorder
XTick.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
XTick.aname
XTick.axesTheAxes instance the artist resides in, orNone.
XTick.containsTest whether the mouse event occurred in the Tick marks.
XTick.convert_xunitsFor artists in an axes, if the xaxis has units support,
XTick.convert_yunitsFor artists in an axes, if the yaxis has units support,
XTick.draw
XTick.findobjFind artist objects.
XTick.format_cursor_dataReturncursor data string formatted.
XTick.get_agg_filterreturn filter function to be used for agg filter
XTick.get_alphaReturn the alpha value used for blending - not supported on all
XTick.get_animatedReturn the artist’s animated state
XTick.get_axesReturn theAxes instance the artist resides in, orNone.
XTick.get_children
XTick.get_clip_boxReturn artist clipbox
XTick.get_clip_onReturn whether artist uses clipping
XTick.get_clip_pathReturn artist clip path
XTick.get_containsReturn the _contains test used by the artist, orNone for default.
XTick.get_cursor_dataGet the cursor data for a given event.
XTick.get_figureReturn theFigure instance the artist belongs to.
XTick.get_gidReturns the group id
XTick.get_labelGet the label used for this artist in the legend.
XTick.get_path_effects
XTick.get_pickerReturn the picker object used by this artist
XTick.get_rasterizedreturn True if the artist is to be rasterized
XTick.get_sketch_paramsReturns the sketch parameters for the artist.
XTick.get_snapReturns the snap setting which may be:
XTick.get_transformReturn theTransform instance used by this artist.
XTick.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
XTick.get_urlReturns the url
XTick.get_visibleReturn the artist’s visiblity
XTick.get_window_extentGet the axes bounding box in display space.
XTick.get_zorderReturn theArtist‘s zorder.
XTick.have_unitsReturnTrue if units are set on thex ory axes
XTick.hitlistList the children of the artist which contain the mouse eventevent.
XTick.is_figure_setReturns True if the artist is assigned to aFigure.
XTick.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
XTick.mouseover
XTick.pchangedFire an event when property changed, calling all of the registered callbacks.
XTick.pickProcess pick event
XTick.pickableReturnTrue ifArtist is pickable.
XTick.propertiesreturn a dictionary mapping property name -> value for all Artist props
XTick.removeRemove the artist from the figure if possible.
XTick.remove_callbackRemove a callback based on itsid.
XTick.setA property batch setter.
XTick.set_agg_filterset agg_filter fuction.
XTick.set_alphaSet the alpha value used for blending - not supported on all backends.
XTick.set_animatedSet the artist’s animation state.
XTick.set_axesSet theAxes instance in which the artist resides, if any.
XTick.set_clip_boxSet the artist’s clipBbox.
XTick.set_clip_onSet whether artist uses clipping.
XTick.set_clip_pathSet the artist’s clip path, which may be:
XTick.set_containsReplace the contains test used by this artist.
XTick.set_figureSet theFigure instance the artist belongs to.
XTick.set_gidSets the (group) id for the artist
XTick.set_labelSet the text of ticklabel
XTick.set_path_effectsset path_effects, which should be a list of instances of
XTick.set_pickerSet the epsilon for picking used by this artist
XTick.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
XTick.set_sketch_paramsSets the sketch parameters.
XTick.set_snapSets the snap setting which may be:
XTick.set_transformSet theTransform instance used by this artist.
XTick.set_urlSets the url for the artist
XTick.set_visibleSet the artist’s visiblity.
XTick.set_zorderSet the zorder for the artist.
XTick.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
XTick.updateUpdate the properties of thisArtist from the dictionaryprop.
XTick.update_fromCopy properties fromother toself.
XTick.zorder
YTick.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
YTick.aname
YTick.axesTheAxes instance the artist resides in, orNone.
YTick.containsTest whether the mouse event occurred in the Tick marks.
YTick.convert_xunitsFor artists in an axes, if the xaxis has units support,
YTick.convert_yunitsFor artists in an axes, if the yaxis has units support,
YTick.draw
YTick.findobjFind artist objects.
YTick.format_cursor_dataReturncursor data string formatted.
YTick.get_agg_filterreturn filter function to be used for agg filter
YTick.get_alphaReturn the alpha value used for blending - not supported on all
YTick.get_animatedReturn the artist’s animated state
YTick.get_axesReturn theAxes instance the artist resides in, orNone.
YTick.get_children
YTick.get_clip_boxReturn artist clipbox
YTick.get_clip_onReturn whether artist uses clipping
YTick.get_clip_pathReturn artist clip path
YTick.get_containsReturn the _contains test used by the artist, orNone for default.
YTick.get_cursor_dataGet the cursor data for a given event.
YTick.get_figureReturn theFigure instance the artist belongs to.
YTick.get_gidReturns the group id
YTick.get_labelGet the label used for this artist in the legend.
YTick.get_path_effects
YTick.get_pickerReturn the picker object used by this artist
YTick.get_rasterizedreturn True if the artist is to be rasterized
YTick.get_sketch_paramsReturns the sketch parameters for the artist.
YTick.get_snapReturns the snap setting which may be:
YTick.get_transformReturn theTransform instance used by this artist.
YTick.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
YTick.get_urlReturns the url
YTick.get_visibleReturn the artist’s visiblity
YTick.get_window_extentGet the axes bounding box in display space.
YTick.get_zorderReturn theArtist‘s zorder.
YTick.have_unitsReturnTrue if units are set on thex ory axes
YTick.hitlistList the children of the artist which contain the mouse eventevent.
YTick.is_figure_setReturns True if the artist is assigned to aFigure.
YTick.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
YTick.mouseover
YTick.pchangedFire an event when property changed, calling all of the registered callbacks.
YTick.pickProcess pick event
YTick.pickableReturnTrue ifArtist is pickable.
YTick.propertiesreturn a dictionary mapping property name -> value for all Artist props
YTick.removeRemove the artist from the figure if possible.
YTick.remove_callbackRemove a callback based on itsid.
YTick.setA property batch setter.
YTick.set_agg_filterset agg_filter fuction.
YTick.set_alphaSet the alpha value used for blending - not supported on all backends.
YTick.set_animatedSet the artist’s animation state.
YTick.set_axesSet theAxes instance in which the artist resides, if any.
YTick.set_clip_boxSet the artist’s clipBbox.
YTick.set_clip_onSet whether artist uses clipping.
YTick.set_clip_pathSet the artist’s clip path, which may be:
YTick.set_containsReplace the contains test used by this artist.
YTick.set_figureSet theFigure instance the artist belongs to.
YTick.set_gidSets the (group) id for the artist
YTick.set_labelSet the text of ticklabel
YTick.set_path_effectsset path_effects, which should be a list of instances of
YTick.set_pickerSet the epsilon for picking used by this artist
YTick.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
YTick.set_sketch_paramsSets the sketch parameters.
YTick.set_snapSets the snap setting which may be:
YTick.set_transformSet theTransform instance used by this artist.
YTick.set_urlSets the url for the artist
YTick.set_visibleSet the artist’s visiblity.
YTick.set_zorderSet the zorder for the artist.
YTick.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
YTick.updateUpdate the properties of thisArtist from the dictionaryprop.
YTick.update_fromCopy properties fromother toself.
YTick.zorder

Axis

Axis.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
Axis.aname
Axis.axesTheAxes instance the artist resides in, orNone.
Axis.containsTest whether the artist contains the mouse event.
Axis.convert_xunitsFor artists in an axes, if the xaxis has units support,
Axis.convert_yunitsFor artists in an axes, if the yaxis has units support,
Axis.drawDraw the axis lines, grid lines, tick lines and labels
Axis.findobjFind artist objects.
Axis.format_cursor_dataReturncursor data string formatted.
Axis.get_agg_filterreturn filter function to be used for agg filter
Axis.get_alphaReturn the alpha value used for blending - not supported on all
Axis.get_animatedReturn the artist’s animated state
Axis.get_axesReturn theAxes instance the artist resides in, orNone.
Axis.get_children
Axis.get_clip_boxReturn artist clipbox
Axis.get_clip_onReturn whether artist uses clipping
Axis.get_clip_pathReturn artist clip path
Axis.get_containsReturn the _contains test used by the artist, orNone for default.
Axis.get_cursor_dataGet the cursor data for a given event.
Axis.get_figureReturn theFigure instance the artist belongs to.
Axis.get_gidReturns the group id
Axis.get_labelReturn the axis label as a Text instance
Axis.get_path_effects
Axis.get_pickerReturn the picker object used by this artist
Axis.get_rasterizedreturn True if the artist is to be rasterized
Axis.get_sketch_paramsReturns the sketch parameters for the artist.
Axis.get_snapReturns the snap setting which may be:
Axis.get_transform
Axis.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
Axis.get_urlReturns the url
Axis.get_visibleReturn the artist’s visiblity
Axis.get_window_extentGet the axes bounding box in display space.
Axis.get_zorderReturn theArtist‘s zorder.
Axis.have_units
Axis.hitlistList the children of the artist which contain the mouse eventevent.
Axis.is_figure_setReturns True if the artist is assigned to aFigure.
Axis.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
Axis.mouseover
Axis.pchangedFire an event when property changed, calling all of the registered callbacks.
Axis.pickProcess pick event
Axis.pickableReturnTrue ifArtist is pickable.
Axis.propertiesreturn a dictionary mapping property name -> value for all Artist props
Axis.removeRemove the artist from the figure if possible.
Axis.remove_callbackRemove a callback based on itsid.
Axis.setA property batch setter.
Axis.set_agg_filterset agg_filter fuction.
Axis.set_alphaSet the alpha value used for blending - not supported on all backends.
Axis.set_animatedSet the artist’s animation state.
Axis.set_axesSet theAxes instance in which the artist resides, if any.
Axis.set_clip_boxSet the artist’s clipBbox.
Axis.set_clip_onSet whether artist uses clipping.
Axis.set_clip_path
Axis.set_containsReplace the contains test used by this artist.
Axis.set_figureSet theFigure instance the artist belongs to.
Axis.set_gidSets the (group) id for the artist
Axis.set_labelSet the label tos for auto legend.
Axis.set_path_effectsset path_effects, which should be a list of instances of
Axis.set_pickerSet the epsilon for picking used by this artist
Axis.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
Axis.set_sketch_paramsSets the sketch parameters.
Axis.set_snapSets the snap setting which may be:
Axis.set_transformSet theTransform instance used by this artist.
Axis.set_urlSets the url for the artist
Axis.set_visibleSet the artist’s visiblity.
Axis.set_zorderSet the zorder for the artist.
Axis.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
Axis.updateUpdate the properties of thisArtist from the dictionaryprop.
Axis.update_fromCopy properties fromother toself.
Axis.zorder
XAxis.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
XAxis.aname
XAxis.axesTheAxes instance the artist resides in, orNone.
XAxis.containsTest whether the mouse event occured in the x axis.
XAxis.convert_xunitsFor artists in an axes, if the xaxis has units support,
XAxis.convert_yunitsFor artists in an axes, if the yaxis has units support,
XAxis.drawDraw the axis lines, grid lines, tick lines and labels
XAxis.findobjFind artist objects.
XAxis.format_cursor_dataReturncursor data string formatted.
XAxis.get_agg_filterreturn filter function to be used for agg filter
XAxis.get_alphaReturn the alpha value used for blending - not supported on all
XAxis.get_animatedReturn the artist’s animated state
XAxis.get_axesReturn theAxes instance the artist resides in, orNone.
XAxis.get_children
XAxis.get_clip_boxReturn artist clipbox
XAxis.get_clip_onReturn whether artist uses clipping
XAxis.get_clip_pathReturn artist clip path
XAxis.get_containsReturn the _contains test used by the artist, orNone for default.
XAxis.get_cursor_dataGet the cursor data for a given event.
XAxis.get_figureReturn theFigure instance the artist belongs to.
XAxis.get_gidReturns the group id
XAxis.get_labelReturn the axis label as a Text instance
XAxis.get_path_effects
XAxis.get_pickerReturn the picker object used by this artist
XAxis.get_rasterizedreturn True if the artist is to be rasterized
XAxis.get_sketch_paramsReturns the sketch parameters for the artist.
XAxis.get_snapReturns the snap setting which may be:
XAxis.get_transform
XAxis.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
XAxis.get_urlReturns the url
XAxis.get_visibleReturn the artist’s visiblity
XAxis.get_window_extentGet the axes bounding box in display space.
XAxis.get_zorderReturn theArtist‘s zorder.
XAxis.have_units
XAxis.hitlistList the children of the artist which contain the mouse eventevent.
XAxis.is_figure_setReturns True if the artist is assigned to aFigure.
XAxis.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
XAxis.mouseover
XAxis.pchangedFire an event when property changed, calling all of the registered callbacks.
XAxis.pickProcess pick event
XAxis.pickableReturnTrue ifArtist is pickable.
XAxis.propertiesreturn a dictionary mapping property name -> value for all Artist props
XAxis.removeRemove the artist from the figure if possible.
XAxis.remove_callbackRemove a callback based on itsid.
XAxis.setA property batch setter.
XAxis.set_agg_filterset agg_filter fuction.
XAxis.set_alphaSet the alpha value used for blending - not supported on all backends.
XAxis.set_animatedSet the artist’s animation state.
XAxis.set_axesSet theAxes instance in which the artist resides, if any.
XAxis.set_clip_boxSet the artist’s clipBbox.
XAxis.set_clip_onSet whether artist uses clipping.
XAxis.set_clip_path
XAxis.set_containsReplace the contains test used by this artist.
XAxis.set_figureSet theFigure instance the artist belongs to.
XAxis.set_gidSets the (group) id for the artist
XAxis.set_labelSet the label tos for auto legend.
XAxis.set_path_effectsset path_effects, which should be a list of instances of
XAxis.set_pickerSet the epsilon for picking used by this artist
XAxis.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
XAxis.set_sketch_paramsSets the sketch parameters.
XAxis.set_snapSets the snap setting which may be:
XAxis.set_transformSet theTransform instance used by this artist.
XAxis.set_urlSets the url for the artist
XAxis.set_visibleSet the artist’s visiblity.
XAxis.set_zorderSet the zorder for the artist.
XAxis.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
XAxis.updateUpdate the properties of thisArtist from the dictionaryprop.
XAxis.update_fromCopy properties fromother toself.
XAxis.zorder
YAxis.add_callbackAdds a callback function that will be called whenever one of theArtist‘s properties changes.
YAxis.aname
YAxis.axesTheAxes instance the artist resides in, orNone.
YAxis.containsTest whether the mouse event occurred in the y axis.
YAxis.convert_xunitsFor artists in an axes, if the xaxis has units support,
YAxis.convert_yunitsFor artists in an axes, if the yaxis has units support,
YAxis.drawDraw the axis lines, grid lines, tick lines and labels
YAxis.findobjFind artist objects.
YAxis.format_cursor_dataReturncursor data string formatted.
YAxis.get_agg_filterreturn filter function to be used for agg filter
YAxis.get_alphaReturn the alpha value used for blending - not supported on all
YAxis.get_animatedReturn the artist’s animated state
YAxis.get_axesReturn theAxes instance the artist resides in, orNone.
YAxis.get_children
YAxis.get_clip_boxReturn artist clipbox
YAxis.get_clip_onReturn whether artist uses clipping
YAxis.get_clip_pathReturn artist clip path
YAxis.get_containsReturn the _contains test used by the artist, orNone for default.
YAxis.get_cursor_dataGet the cursor data for a given event.
YAxis.get_figureReturn theFigure instance the artist belongs to.
YAxis.get_gidReturns the group id
YAxis.get_labelReturn the axis label as a Text instance
YAxis.get_path_effects
YAxis.get_pickerReturn the picker object used by this artist
YAxis.get_rasterizedreturn True if the artist is to be rasterized
YAxis.get_sketch_paramsReturns the sketch parameters for the artist.
YAxis.get_snapReturns the snap setting which may be:
YAxis.get_transform
YAxis.get_transformed_clip_path_and_affineReturn the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.
YAxis.get_urlReturns the url
YAxis.get_visibleReturn the artist’s visiblity
YAxis.get_window_extentGet the axes bounding box in display space.
YAxis.get_zorderReturn theArtist‘s zorder.
YAxis.have_units
YAxis.hitlistList the children of the artist which contain the mouse eventevent.
YAxis.is_figure_setReturns True if the artist is assigned to aFigure.
YAxis.is_transform_setReturnsTrue ifArtist has a transform explicitly set.
YAxis.mouseover
YAxis.pchangedFire an event when property changed, calling all of the registered callbacks.
YAxis.pickProcess pick event
YAxis.pickableReturnTrue ifArtist is pickable.
YAxis.propertiesreturn a dictionary mapping property name -> value for all Artist props
YAxis.removeRemove the artist from the figure if possible.
YAxis.remove_callbackRemove a callback based on itsid.
YAxis.setA property batch setter.
YAxis.set_agg_filterset agg_filter fuction.
YAxis.set_alphaSet the alpha value used for blending - not supported on all backends.
YAxis.set_animatedSet the artist’s animation state.
YAxis.set_axesSet theAxes instance in which the artist resides, if any.
YAxis.set_clip_boxSet the artist’s clipBbox.
YAxis.set_clip_onSet whether artist uses clipping.
YAxis.set_clip_path
YAxis.set_containsReplace the contains test used by this artist.
YAxis.set_figureSet theFigure instance the artist belongs to.
YAxis.set_gidSets the (group) id for the artist
YAxis.set_labelSet the label tos for auto legend.
YAxis.set_path_effectsset path_effects, which should be a list of instances of
YAxis.set_pickerSet the epsilon for picking used by this artist
YAxis.set_rasterizedForce rasterized (bitmap) drawing in vector backend output.
YAxis.set_sketch_paramsSets the sketch parameters.
YAxis.set_snapSets the snap setting which may be:
YAxis.set_transformSet theTransform instance used by this artist.
YAxis.set_urlSets the url for the artist
YAxis.set_visibleSet the artist’s visiblity.
YAxis.set_zorderSet the zorder for the artist.
YAxis.staleIf the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.
YAxis.updateUpdate the properties of thisArtist from the dictionaryprop.
YAxis.update_fromCopy properties fromother toself.
YAxis.zorder
© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2016 The Matplotlib development team. Last updated on Feb 20, 2017. Created usingSphinx 1.5.2.

[8]ページ先頭

©2009-2025 Movatter.jp