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

Skip to content

Commit b74aea1

Browse files
committed
separate and clarify axisartist default tables
1 parent 221f6c2 commit b74aea1

File tree

1 file changed

+55
-12
lines changed

1 file changed

+55
-12
lines changed

galleries/users_explain/toolkits/axisartist.rst

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -341,18 +341,61 @@ On the other hand, there is a concept of "axis_direction". This is a
341341
default setting of above properties for each, "bottom", "left", "top",
342342
and "right" axis.
343343

344-
========== =========== ========= ========== ========= ==========
345-
? ? left bottom right top
346-
---------- ----------- --------- ---------- --------- ----------
347-
axislabel direction '-' '+' '+' '-'
348-
axislabel rotation 180 0 0 180
349-
axislabel va center top center bottom
350-
axislabel ha right center right center
351-
ticklabel direction '-' '+' '+' '-'
352-
ticklabels rotation 90 0 -90 180
353-
ticklabel ha right center right center
354-
ticklabel va center baseline center baseline
355-
========== =========== ========= ========== ========= ==========
344+
.. list-table:: ``axislabel`` defaults
345+
346+
* - reference direction
347+
- label direction
348+
- label rotation
349+
- horizontal alignment
350+
- vertical alignment
351+
* - left
352+
- '-'
353+
- 180
354+
- right
355+
- center
356+
* - bottom
357+
- '+'
358+
- 0
359+
- center
360+
- top
361+
* - right
362+
- '+'
363+
- 0
364+
- right
365+
- center
366+
* - top
367+
- '-'
368+
- 180
369+
- center
370+
- bottom
371+
372+
.. list-table:: ``ticklabel`` defaults
373+
374+
* - reference direction
375+
- label direction
376+
- label rotation
377+
- horizontal alignment
378+
- vertical alignment
379+
* - left
380+
- '-'
381+
- 90
382+
- right
383+
- center
384+
* - bottom
385+
- '+'
386+
- 0
387+
- center
388+
- baseline
389+
* - right
390+
- '+'
391+
- -90
392+
- right
393+
- center
394+
* - top
395+
- '-'
396+
- 180
397+
- center
398+
- baseline
356399

357400
And, 'set_axis_direction("top")' means to adjust the text rotation
358401
etc, for settings suitable for "top" axis. The concept of axis

0 commit comments

Comments
 (0)