1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
|
*******************
``matplotlib.axis``
*******************
.. contents:: Table of Contents
:depth: 3
:local:
:backlinks: entry
.. automodule:: matplotlib.axis
:no-members:
:no-undoc-members:
Inheritance
===========
.. inheritance-diagram:: Tick Ticker XAxis YAxis XTick YTick
:private-bases:
``Axis`` objects
================
.. autoclass:: Axis
:no-members:
:no-undoc-members:
.. autoclass:: XAxis
:no-members:
:no-undoc-members:
.. autoclass:: YAxis
:no-members:
:no-undoc-members:
.. autoclass:: Ticker
:no-members:
:no-undoc-members:
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.clear
Axis.get_scale
Formatters and Locators
-----------------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.get_major_formatter
Axis.get_major_locator
Axis.get_minor_formatter
Axis.get_minor_locator
Axis.set_major_formatter
Axis.set_major_locator
Axis.set_minor_formatter
Axis.set_minor_locator
Axis.remove_overlapping_locs
Axis.get_remove_overlapping_locs
Axis.set_remove_overlapping_locs
Axis Label
----------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.label
Axis.set_label_coords
Axis.set_label_position
Axis.set_label_text
Axis.get_label_position
Axis.get_label_text
Ticks, tick labels and Offset text
----------------------------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.get_major_ticks
Axis.get_majorticklabels
Axis.get_majorticklines
Axis.get_majorticklocs
Axis.get_minor_ticks
Axis.get_minorticklabels
Axis.get_minorticklines
Axis.get_minorticklocs
Axis.get_offset_text
Axis.get_tick_padding
Axis.get_tick_params
Axis.get_ticklabels
Axis.get_ticklines
Axis.get_ticklocs
Axis.get_gridlines
Axis.grid
Axis.set_tick_params
Axis.axis_date
Axis.minorticks_off
Axis.minorticks_on
Data and view intervals
-----------------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.get_data_interval
Axis.get_view_interval
Axis.get_inverted
Axis.set_data_interval
Axis.set_view_interval
Axis.set_inverted
Rendering helpers
-----------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.get_minpos
Axis.get_tick_space
Axis.get_tightbbox
Interactive
-----------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.contains
Axis.pickradius
Axis.get_pickradius
Axis.set_pickradius
Units
-----
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.convert_units
Axis.set_units
Axis.get_units
Axis.set_converter
Axis.get_converter
Axis.update_units
XAxis Specific
--------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
XAxis.axis_name
XAxis.get_ticks_position
XAxis.set_ticks_position
XAxis.set_label_position
XAxis.tick_bottom
XAxis.tick_top
YAxis Specific
--------------
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
YAxis.axis_name
YAxis.get_ticks_position
YAxis.set_offset_position
YAxis.set_ticks_position
YAxis.set_label_position
YAxis.tick_left
YAxis.tick_right
Other
-----
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.OFFSETTEXTPAD
Axis.axes
Axis.limit_range_for_scale
Axis.reset_ticks
Axis.set_clip_path
Axis.set_default_intervals
Discouraged
-----------
These methods should be used together with care, calling ``set_ticks``
to specify the desired tick locations **before** calling ``set_ticklabels`` to
specify a matching series of labels. Calling ``set_ticks`` makes a
`~matplotlib.ticker.FixedLocator`; it's list of locations is then used by
``set_ticklabels`` to make an appropriate
`~matplotlib.ticker.FuncFormatter`.
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Axis.get_label
Axis.set_label
Axis.set_ticks
Axis.set_ticklabels
``Tick`` objects
================
.. autoclass:: Tick
:no-members:
:no-undoc-members:
.. autoclass:: XTick
:no-members:
:no-undoc-members:
.. autoclass:: YTick
:no-members:
:no-undoc-members:
.. autosummary::
:toctree: _as_gen
:template: autosummary.rst
:nosignatures:
Tick.get_loc
Tick.get_pad
Tick.get_tick_padding
Tick.get_tickdir
Tick.get_view_interval
Tick.set_clip_path
Tick.set_pad
Tick.set_url
Tick.update_position
|