Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 481314e

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/markers.py

Copy file name to clipboardExpand all lines: lib/matplotlib/markers.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.