Detailed reference official documents: http://matplotlib.org/api/axis_api.html
Classes for the ticks and x and Y axis
Inheritance
Inheritance diagram of Tick, ticker, Xaxis, YAxis, XTick
Axis
ObjectsClass Matplotlib.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
Class Matplotlib.axis. Xaxis (axes, pickradius=15) Init the axis with the parent axes instance
Class Matplotlib.axis. YAxis (axes, pickradius=15) Init the axis with the parent axes instance
Class Matplotlib.axis. Ticker
Axis.cla |
Clear the current axis |
Axis.get_scale |
|
formatters and Locators "set the primary sub-scale"
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 labels"
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 |
Sets 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 "tick, tick label, 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 x 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 |
Set the axis grid on or off; B is a Boolean. |
Data and view intervals
axis.get_data_interval |
Return the interval instance to this Axis data li MITs |
axis.get_view_interval |
Return the interval instance to this Axis view Limits |
axis.set_data_interval |
Set the Axis data limits |
tr>
|