Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28bc28f

Browse filesBrowse files
committed
Convert Tick attributes to numpydoc
1 parent 21c4f9e commit 28bc28f
Copy full SHA for 28bc28f

File tree

Expand file treeCollapse file tree

1 file changed

+17
-23
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+17
-23
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+17-23Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,32 @@ class Tick(artist.Artist):
4444
1 refers to the bottom of the plot for xticks and the left for yticks
4545
2 refers to the top of the plot for xticks and the right for yticks
4646
47-
Publicly accessible attributes:
47+
Attributes
48+
----------
49+
tick1line : Line2D
4850
49-
:attr:`tick1line`
50-
a Line2D instance
51+
tick2line : Line2D
5152
52-
:attr:`tick2line`
53-
a Line2D instance
53+
gridline : Line2D
5454
55-
:attr:`gridline`
56-
a Line2D instance
55+
label1 : Text
5756
58-
:attr:`label1`
59-
a Text instance
57+
label2 : Text
6058
61-
:attr:`label2`
62-
a Text instance
59+
gridOn : bool
60+
Determines whether to draw the tickline.
6361
64-
:attr:`gridOn`
65-
a boolean which determines whether to draw the tickline
62+
tick1On : bool
63+
Determines whether to draw the 1st tickline.
6664
67-
:attr:`tick1On`
68-
a boolean which determines whether to draw the 1st tickline
65+
tick2On : bool
66+
Determines whether to draw the 2nd tickline.
6967
70-
:attr:`tick2On`
71-
a boolean which determines whether to draw the 2nd tickline
72-
73-
:attr:`label1On`
74-
a boolean which determines whether to draw tick label
75-
76-
:attr:`label2On`
77-
a boolean which determines whether to draw tick label
68+
label1On : bool
69+
Determines whether to draw tick label.
7870
71+
label2On : bool
72+
Determines whether to draw tick label.
7973
"""
8074
def __init__(self, axes, loc, label,
8175
size=None, # points

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.