8000 Merge pull request #4393 from moonshoes87/plot-display-issue · matplotlib/matplotlib@389e697 · GitHub
[go: up one dir, main page]

Skip to content

Commit 389e697

Browse files
committed
Merge pull request #4393 from moonshoes87/plot-display-issue
MNT: Line2D.set_markersize takes any input which can be coerced to float
2 parents c473c1b + e707753 commit 389e697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ def set_markersize(self, sz):
10611061
10621062
ACCEPTS: float
10631063
"""
1064-
self._markersize = sz
1064+
self._markersize = float(sz)
10651065

10661066
def set_xdata(self, x):
10671067
"""

0 commit comments

Comments
 (0)
0