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 34e1459

Browse filesBrowse files
committed
DOC: Update description of properties of Line2D in 'plot' documentation.
Line2D properties on plot documentation had only mentioned property value to be float and had not given any info on unit used. Added info on unit used for properties is points. closes #14720
1 parent 1549229 commit 34e1459
Copy full SHA for 34e1459

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/matplotlib/lines.py

Copy file name to clipboardExpand all lines: lib/matplotlib/lines.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,7 @@ def set_linewidth(self, w):
10951095
Parameters
10961096
----------
10971097
w : float
1098+
Line width, in points.
10981099
"""
10991100
w = float(w)
11001101

@@ -1227,6 +1228,7 @@ def set_markeredgewidth(self, ew):
12271228
Parameters
12281229
----------
12291230
ew : float
1231+
Marker edge width, in points.
12301232
"""
12311233
if ew is None:
12321234
ew = rcParams['lines.markeredgewidth']
@@ -1269,6 +1271,7 @@ def set_markersize(self, sz):
12691271
Parameters
12701272
----------
12711273
sz : float
1274+
Marker size, in points.
12721275
"""
12731276
sz = float(sz)
12741277
if self._markersize != sz:

0 commit comments

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