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

Skip to content

Commit e0f9176

Browse files
committed
Fix circle marker -- it shouldn't be snapped because it contains bezier curves.
1 parent 08fc6a6 commit e0f9176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/markers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _half_fill(self):
276276

277277
def _set_circle(self, reduction = 1.0):
278278
self._transform = Affine2D().scale(0.5 * reduction)
279-
self._snap_threshold = 3.0
279+
self._snap_threshold = None
280280
fs = self.get_fillstyle()
281281
if not self._half_fill():
282282
self._path = Path.unit_circle()

0 commit comments

Comments
 (0)