Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b11d9d commit 2ac9d7bCopy full SHA for 2ac9d7b
lib/matplotlib/lines.py
@@ -919,7 +919,7 @@ def set_linewidth(self, w):
919
920
ACCEPTS: float value in points
921
"""
922
- self._linewidth = w
+ self._linewidth = float(w)
923
924
def set_linestyle(self, linestyle):
925
lib/matplotlib/patches.py
@@ -334,7 +334,7 @@ def set_linewidth(self, w):
334
335
if w is None:
336
w = mpl.rcParams['patch.linewidth']
337
338
339
def set_lw(self, lw):
340
"""alias for set_linewidth"""
0 commit comments