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

Skip to content

Commit af7ac12

Browse files
committed
Fix some regression tests.
1 parent 85d3ea9 commit af7ac12

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/matplotlib/markers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _set_nothing(self):
178178

179179
def _set_custom_marker(self, path):
180180
verts = path.vertices
181-
rescale = max(np.max(np.abs(verts[:,0])), np.max(np.abs(verts[:,1]))))
181+
rescale = max(np.max(np.abs(verts[:,0])), np.max(np.abs(verts[:,1])))
182182
self._transform = Affine2D().scale(1.0 / rescale)
183183
self._path = path
184184

@@ -518,13 +518,13 @@ def _set_vline(self):
518518
self._transform = Affine2D().scale(0.5)
519519
self._snap_threshold = 1.0
520520
self._filled = False
521-
self._path = _line_marker_path
521+
self._path = self._line_marker_path
522522

523523
def _set_hline(self):
524524
self._transform = Affine2D().scale(0.5).rotate_deg(90)
525525
self._snap_threshold = 1.0
526526
self._filled = False
527-
self._path = _line_marker_path
527+
self._path = self._line_marker_path
528528

529529
_tickhoriz_path = Path([[0.0, 0.0], [1.0, 0.0]])
530530
def _set_tickleft(self):
33 Bytes
Loading

0 commit comments

Comments
 (0)