8000 Clarified 1,2 convention in the Tick class docstring. · matplotlib/matplotlib@43c6a3a · GitHub
[go: up one dir, main page]

Skip to content

Commit 43c6a3a

Browse files
committed
Clarified 1,2 convention in the Tick class docstring.
svn path=/trunk/matplotlib/; revision=1096
1 parent f13dc3f commit 43c6a3a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

lib/matplotlib/axis.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,22 @@
2323
class Tick(Artist):
2424
"""
2525
Abstract base class for the axis ticks, grid lines and labels
26+
27+
1 refers to the bottom of the plot for xticks and the left for yticks
28+
2 refers to the top of the plot for xticks and the right for yticks
2629
2730
Publicly accessible attributes
28-
31+
2932
tick1line : a Line2D instance
3033
tick2line : a Line2D instance
3134
gridline : a Line2D instance
32-
label1 : an Text instance
33-
label2 : an Text instance
35+
label1 : a Text instance
36+
label2 : a Text instance
3437
gridOn : a boolean which determines whether to draw the tickline
3538
tick1On : a boolean which determines whether to draw the 1st tickline
36-
(left for xtick and bottom for yticks)
3739
tick2On : a boolean which determines whether to draw the 2nd tickline
38-
(left for xtick and bottom for yticks)
39-
label1On : a boolean which determines whether to draw tick label
40-
label2On : a boolean which determines whether to draw tick label
40+
label1On : a boolean 4C2D which determines whether to draw tick label
41+
label2On : a boolean which determines whether to draw tick label
4142
4243
4344
"""

0 commit comments

Comments
 (0)
0