Skip to content

Commit 481314e

Browse files
committed
BUG: Fixes custom path marker sizing for issue matplotlib#1980
1 parent fb27b4c commit 481314e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/markers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _set_custom_marker(self, path):
269269
verts = path.vertices
270270
rescale = max(np.max(np.abs(verts[:, 0])),
271271
np.max(np.abs(verts[:, 1])))
272-
self._transform = Affine2D().scale(1.0 / rescale)
272+
self._transform = Affine2D().scale(0.5 / rescale)
273273
self._path = path
274274

275275
def _set_path_marker(self):

0 commit comments

Comments
 (0)