Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)