7
7
:local:
8
8
:backlinks: entry
9
9
10
-
11
10
.. automodule :: matplotlib.axis
12
11
12
+ Inheritance
13
+ ===========
14
+
15
+ .. inheritance-diagram :: Tick Ticker XAxis YAxis XTick YTick
16
+ :private-bases:
17
+
13
18
14
19
``Axis `` objects
15
20
================
20
25
.. autoclass :: Ticker
21
26
22
27
23
- Methods
24
- -------
28
+ .. autosummary ::
29
+ :toctree: _as_gen
30
+ :nosignatures:
25
31
26
- Axis
27
- ~~~~
32
+ Axis.cla
33
+ Axis.get_scale
34
+
35
+
36
+ Formatters and Locators
37
+ -----------------------
28
38
29
39
.. autosummary ::
30
40
:toctree: _as_gen
31
41
:nosignatures:
32
42
43
+ Axis.get_major_formatter
44
+ Axis.get_major_locator
45
+ Axis.get_minor_formatter
46
+ Axis.get_minor_locator
47
+ Axis.set_major_formatter
48
+ Axis.set_major_locator
49
+ Axis.set_minor_formatter
50
+ Axis.set_minor_locator
33
51
34
- Axis.OFFSETTEXTPAD
35
- Axis.axis_date
36
- Axis.cla
37
- Axis.convert_units
38
- Axis.get_data_interval
39
- Axis.get_gridlines
52
+
53
+ Axis Label
54
+ ----------
55
+
56
+ .. autosummary ::
57
+ :toctree: _as_gen
58
+ :nosignatures:
59
+
60
+ Axis.set_label_coords
61
+ Axis.set_label_position
62
+ Axis.set_label_text
40
63
Axis.get_label_position
41
64
Axis.get_label_text
42
- Axis.get_major_formatter
43
- Axis.get_major_locator
65
+
66
+ Ticks, tick labels and Offset text
67
+ ----------------------------------
68
+
69
+ .. autosummary ::
70
+ :toctree: _as_gen
71
+ :nosignatures:
72
+
44
73
Axis.get_major_ticks
45
74
Axis.get_majorticklabels
46
75
Axis.get_majorticklines
47
76
Axis.get_majorticklocs
48
- Axis.get_minor_formatter
49
- Axis.get_minor_locator
50
77
Axis.get_minor_ticks
51
78
Axis.get_minorticklabels
52
79
Axis.get_minorticklines
53
80
Axis.get_minorticklocs
54
- Axis.get_minpos
81
+
55
82
Axis.get_offset_text
56
- Axis.get_pickradius
57
- Axis.get_scale
58
- Axis.get_smart_bounds
83
+
59
84
Axis.get_tick_padding
60
- Axis.get_tick_space
61
- Axis.get_ticklabel_extents
62
85
Axis.get_ticklabels
63
86
Axis.get_ticklines
64
87
Axis.get_ticklocs
65
- Axis.get_tightbbox
66
- Axis.get_units
67
- Axis.get_view_interval
88
+
89
+ Axis.get_gridlines
68
90
Axis.grid
91
+
69
92
Axis.iter_ticks
70
- Axis.limit_range_for_scale
71
- Axis.pan
72
- Axis.reset_ticks
93
+ Axis.set_tick_params
94
+
95
+ Axis.axis_date
96
+
97
+
98
+ Data and view internvals
99
+ ------------------------
100
+
101
+ .. autosummary ::
102
+ :toctree: _as_gen
103
+ :nosignatures:
104
+
105
+ Axis.get_data_interval
106
+ Axis.get_view_interval
73
107
Axis.set_data_interval
74
- Axis.set_default_intervals
75
- Axis.set_label_coords
76
- Axis.set_label_position
77
- Axis.set_label_text
78
- Axis.set_major_formatter
79
- Axis.set_major_locator
80
- Axis.set_minor_formatter
81
- Axis.set_minor_locator
108
+ Axis.set_view_interval
109
+
110
+ Rendering helpers
111
+ -----------------
112
+
113
+ .. autosummary ::
114
+ :toctree: _as_gen
115
+ :nosignatures:
116
+
117
+ Axis.get_minpos
118
+ Axis.get_tick_space
119
+ Axis.get_ticklabel_extents
120
+ Axis.get_tightbbox
121
+
122
+
123
+ Interactive
124
+ -----------
125
+
126
+ .. autosummary ::
127
+ :toctree: _as_gen
128
+ :nosignatures:
129
+
130
+
131
+ Axis.get_pickradius
82
132
Axis.set_pickradius
83
- Axis.set_smart_bounds
84
- Axis.set_tick_params
85
- Axis.set_ticklabels
86
- Axis.set_ticks
133
+
134
+
135
+ Units
136
+ -----
137
+
138
+ .. autosummary ::
139
+ :toctree: _as_gen
140
+ :nosignatures:
141
+
142
+ Axis.convert_units
87
143
Axis.set_units
88
- Axis.set_view_interval
144
+ Axis.get_units
89
145
Axis.update_units
146
+
147
+
148
+ Incremental navigation
149
+ ----------------------
150
+
151
+ .. autosummary ::
152
+ :toctree: _as_gen
153
+ :nosignatures:
154
+
155
+ Axis.pan
90
156
Axis.zoom
91
157
92
- YAxis
93
- ~~~~~
158
+
159
+ YAxis Specific
160
+ --------------
94
161
95
162
.. autosummary ::
96
163
:toctree: _as_gen
@@ -104,8 +171,9 @@ YAxis
104
171
YAxis.tick_left
105
172
YAxis.tick_right
106
173
107
- XAxis
108
- ~~~~~
174
+
175
+ XAxis Specific
176
+ --------------
109
177
.. autosummary ::
110
178
:toctree: _as_gen
111
179
:nosignatures:
@@ -118,6 +186,38 @@ XAxis
118
186
XAxis.tick_top
119
187
120
188
189
+ Other
190
+ -----
191
+
192
+ .. autosummary ::
193
+ :toctree: _as_gen
194
+ :nosignatures:
195
+
196
+
197
+ Axis.OFFSETTEXTPAD
198
+
199
+ Axis.limit_range_for_scale
200
+ Axis.reset_ticks
201
+ Axis.set_default_intervals
202
+ Axis.get_smart_bounds
203
+ Axis.set_smart_bounds
204
+
205
+ Discouraged
206
+ -----------
207
+
208
+ These methods implicitly use `~matplotlib.ticker.FixedLocator ` and
209
+ `~matplotlib.ticker.FixedFormatter `. They can be convenient, but if
210
+ not used together may de-couple your tick labels from your data.
211
+
212
+ .. autosummary ::
213
+ :toctree: _as_gen
214
+ :nosignatures:
215
+
216
+ Axis.set_ticklabels
217
+ Axis.set_ticks
218
+
219
+
220
+
121
221
``Tick `` objects
122
222
================
123
223
@@ -126,9 +226,6 @@ XAxis
126
226
.. autoclass :: YTick
127
227
128
228
129
- Methods
130
- -------
131
-
132
229
.. autosummary ::
133
230
:toctree: _as_gen
134
231
:nosignatures:
@@ -147,18 +244,11 @@ Methods
147
244
Tick.update_position
148
245
149
246
150
-
151
- Inheritance
152
- ===========
153
-
154
- .. inheritance-diagram :: Tick Ticker XAxis YAxis XTick YTick
155
- :private-bases:
156
-
157
247
Common and inherited methods
158
248
============================
159
249
160
- XTick
161
- -----
250
+ `` XTick ``
251
+ ---------
162
252
163
253
.. autosummary ::
164
254
:toctree: _as_gen
@@ -265,8 +355,8 @@ YAxis
265
355
YAxis.update_units
266
356
YAxis.zoom
267
357
268
- YAxis
269
- -----
358
+ `` YAxis ``
359
+ ---------
270
360
271
361
.. autosummary ::
272
362
:toctree: _as_gen
0 commit comments