@@ -341,18 +341,37 @@ On the other hand, there is a concept of "axis_direction". This is a
341341default setting of above properties for each, "bottom", "left", "top",
342342and "right" axis.
343343
344- ========== ========== ========= ========== ========= ==========
345- label type parameter 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- ticklabel rotation 90 0 -90 180
353- ticklabel ha right center right center
354- ticklabel va center baseline center baseline
355- ========== ========== ========= ========== ========= ==========
344+ .. table :: ``axislabel`` property defaults
345+
346+ +---------------------+-----------------+----------------+----------------------+--------------------+
347+ | reference direction | label direction | label rotation | horizontal alignment | vertical alignment |
348+ +=====================+=================+================+======================+====================+
349+ | left | '-' | 180 | right | center |
350+ +---------------------+-----------------+----------------+----------------------+--------------------+
351+ | bottom | '+' | 0 | center | top |
352+ +---------------------+-----------------+----------------+----------------------+--------------------+
353+ | right | '+' | 0 | right | center |
354+ +---------------------+-----------------+----------------+----------------------+--------------------+
355+ | top | '-' | 180 | center | bottom |
356+ +---------------------+-----------------+----------------+----------------------+--------------------+
357+
358+
359+
360+ .. table :: ``ticklabel`` property defaults
361+
362+ +---------------------+-----------------+----------------+----------------------+--------------------+
363+ | reference direction | label direction | label rotation | horizontal alignment | vertical alignment |
364+ +=====================+=================+================+======================+====================+
365+ | left | '-' | 90 | right | center |
366+ +---------------------+-----------------+----------------+----------------------+--------------------+
367+ | bottom | '+' | 0 | center | baseline |
368+ +---------------------+-----------------+----------------+----------------------+--------------------+
369+ | right | '+' | -90 | right | center |
370+ +---------------------+-----------------+----------------+----------------------+--------------------+
371+ | top | '-' | 180 | center | baseline |
372+ +---------------------+-----------------+----------------+----------------------+--------------------+
373+
374+
356375
357376And, 'set_axis_direction("top")' means to adjust the text rotation
358377etc, for settings suitable for "top" axis. The concept of axis
0 commit comments