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

Skip to content

Commit c5c9f69

Browse files
committed
Merge remote branch 'origin/v1.0.x'
2 parents 303d361 + 0ce57c3 commit c5c9f69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/spines.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def _adjust_location(self):
247247
else:
248248
low,high = self._bounds
249249

250-
v1 = self._path.vertices[:] # copy
250+
v1 = self._path.vertices
251251
assert v1.shape == (2,2), 'unexpected vertices shape'
252252
if self.spine_type in ['left','right']:
253253
v1[0,1] = low
@@ -257,7 +257,6 @@ def _adjust_location(self):
257257
v1[1,0] = high
258258
else:
259259
raise ValueError('unable to set bounds for spine "%s"'%spine_type)
260-
self._path.vertices = v1 # replace
261260

262261
@allow_rasterization
263262
def draw(self, renderer):

0 commit comments

Comments
 (0)