We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677218b commit 074570eCopy full SHA for 074570e
lib/matplotlib/spines.py
@@ -247,7 +247,7 @@ def _adjust_location(self):
247
else:
248
low,high = self._bounds
249
250
- v1 = self._path.vertices.copy()
+ v1 = self._path.vertices
251
assert v1.shape == (2,2), 'unexpected vertices shape'
252
if self.spine_type in ['left','right']:
253
v1[0,1] = low
@@ -257,7 +257,6 @@ def _adjust_location(self):
257
v1[1,0] = high
258
259
raise ValueError('unable to set bounds for spine "%s"'%spine_type)
260
- self._path.vertices = v1 # replace
261
262
@allow_rasterization
263
def draw(self, renderer):
0 commit comments