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 658396c

Browse filesBrowse files
committed
Improve appearance of hexagon markers
1 parent c80617d commit 658396c
Copy full SHA for 658396c

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎lib/matplotlib/markers.py

Copy file name to clipboardExpand all lines: lib/matplotlib/markers.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def _set_star(self):
477477

478478
def _set_hexagon1(self):
479479
self._transform = Affine2D().scale(0.5)
480-
self._snap_threshold = 5.0
480+
self._snap_threshold = None
481481

482482
fs = self.get_fillstyle()
483483
polypath = Path.unit_regular_polygon(6)
@@ -511,7 +511,7 @@ def _set_hexagon1(self):
511511

512512
def _set_hexagon2(self):
513513
self._transform = Affine2D().scale(0.5).rotate_deg(30)
514-
self._snap_threshold = 5.0
514+
self._snap_threshold = None
515515

516516
fs = self.get_fillstyle()
517517
polypath = Path.unit_regular_polygon(6)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.