Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 138a6c1

Browse files
committed
Move axisartist docs
1 parent b1798b6 commit 138a6c1

3 files changed

Lines changed: 15 additions & 12 deletions

File tree

doc/mpl_toolkits/axes_grid1/users/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
.. toctree::
1111

1212
axes_divider.rst
13-
axisartist.rst

doc/mpl_toolkits/axes_grid1/users/axisartist.rst renamed to doc/mpl_toolkits/axisartist/users/axisartist.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ ticklabels, and label. To make ticklabel invisible, ::
117117
ax.axis["bottom"].toggle(ticklabels=False)
118118

119119
To make all of ticks, ticklabels, and (axis) label invisible ::
120-
120+
121121
ax.axis["bottom"].toggle(all=False)
122-
122+
123123
To turn all off but ticks on ::
124-
124+
125125
ax.axis["bottom"].toggle(all=False, ticks=True)
126-
126+
127127
To turn all on but (axis) label off ::
128-
128+
129129
ax.axis["bottom"].toggle(all=True, label=False))
130130

131131

@@ -140,7 +140,7 @@ Note that 'ax.axis["top","right"]' returns a simple proxy object that translate
140140
ax.axis[n].toggle(ticklabels=True))
141141

142142
So, any return values in the for loop are ignored. And you should not
143-
use it anything more than a simple method.
143+
use it anything more than a simple method.
144144

145145
Like the list indexing ":" means all items, i.e., ::
146146

@@ -231,7 +231,7 @@ You must understand some underlying concept of directions.
231231

232232
On the other hand, there is a concept of "axis_direction". This is a
233233
default setting of above properties for each, "bottom", "left", "top",
234-
and "right" axis.
234+
and "right" axis.
235235

236236
========== =========== ========= ========== ========= ==========
237237
? ? left bottom right top
@@ -245,7 +245,7 @@ and "right" axis.
245245
ticklabel ha right center right center
246246
ticklabel va center baseline center baseline
247247
========== =========== ========= ========== ========= ==========
248-
248+
249249

250250
And, 'set_axis_direction("top")' means to adjust the text rotation
251251
etc, for settings suitable for "top" axis. The concept of axis
@@ -270,11 +270,11 @@ axis_direction of ticks, ticklabels, and axis-label does not affect
270270
them.
271271

272272

273-
If you want to make ticks outward and ticklabels inside the axes,
273+
If you want to make ticks outward and ticklabels inside the axes,
274274
use invert_ticklabel_direction method. ::
275275

276276
ax.axis[:].invert_ticklabel_direction()
277-
277+
278278
A related method is "set_tick_out". It makes ticks outward (as a
279279
matter of fact, it makes ticks toward the opposite direction of the
280280
default direction). ::
@@ -284,7 +284,7 @@ default direction). ::
284284
.. plot:: mpl_toolkits/axisartist/figures/simple_axis_direction03.py
285285

286286

287-
So, in summary,
287+
So, in summary,
288288

289289
* AxisArtist's methods
290290
* set_axis_direction : "left", "right", "bottom", or "top"

doc/mpl_toolkits/axisartist/users/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66

77
:Release: |version|
88
:Date: |today|
9+
10+
.. toctree::
11+
12+
axisartist.rst

0 commit comments

Comments
 (0)