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

Skip to content

Commit 658396c

Browse files
committed
Improve appearance of hexagon markers
1 parent c80617d commit 658396c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/markers.py

Lines 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)