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

Skip to content

Commit 3cad9a1

Browse files
committed
Fixed wrong linewidth get
1 parent 65b5c32 commit 3cad9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def _get_hatch(self, gc, rgbFace):
500500
edge = gc.get_hatch_color()
501501
if edge is not None:
502502
edge = tuple(edge)
503-
lw = gc._linewidth
503+
lw = gc.get_hatch_linewidth()
504504
dictkey = (gc.get_hatch(), rgbFace, edge, lw)
505505
oid = self._hatchd.get(dictkey)
506506
if oid is None:

0 commit comments

Comments
 (0)