Detailed reference official documents: http://matplotlib.org/api/axis_api.html
Tick Objects Class Matplotlib.axis. Tick (axes, loc, label, Size=none, Width=none, Color=none, Tickdir=none, Pad=none, Labelsize=none, Labelcolor=no NE, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, labelrotation =0) Abstract base class for the axis ticks, grid lines and labels 1 refers to the bottom of the plot for Xticks and the L EFT for YTICKS2 refers to the "top of" plot for Xticks Yticks publicly accessible e a line2d instance tick2line a line2d instance gridline a line2d instance Label1 a text instance label2 a text instance g Ridon A Boolean which determines whether to draw the Tickline tick1on a Boolean which determines whether to draw the 1st T Ickline 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 are the bound2d bounding box in Display coords of the axesloc is the tick location in data coordssize be 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=n One, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, Labelrotatio n=0) Contains The artists needed to make a x tick-the tick line,the label text and the grid line Bbox is the Bound 2d bounding box in display coords of the Axesloc are the tick location in data coordssize are 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=n One, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, Labelrotatio n=0) Contains The artists needed to make a Y tick-the tick line,the label text and the grid line Bbox is the Bound2 D bounding box in display coords of the Axesloc are the tick location in data coordssize are 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 to the View Interval instance for the axis this tick is ticking |
Tick.set_label1 |
Set the text of Ticklabel |
Common and inherited methods
XTick
Xtick.apply_tickdir |
|
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 to the Interval instance for this axis view limits |
Xtick.set_label1 |
Set the text of Ticklabel |
Ytick
ytick.apply_tickdir |
|
ytick.get_loc /td> |
return the tick location (data coords) as a scalar |
ytick.get_pad | td> get the value of the tick label pad in points
ytick.get_pad_pixels |
&nbs P; |
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 |