Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 17c82a3 + a6f119f commit 38f20a3Copy full SHA for 38f20a3
1 file changed
lib/matplotlib/patches.py
@@ -1009,8 +1009,8 @@ def _update_path(self):
1009
else:
1010
xy = np.column_stack([y, x])
1011
verts.append(xy)
1012
- codes.append(np.array([Path.MOVETO] + [Path.LINETO]*(len(xy)-1)))
1013
- self._path = Path(np.vstack(verts), np.hstack(codes))
+ codes.append([Path.MOVETO] + [Path.LINETO]*(len(xy)-1))
+ self._path = Path(np.concatenate(verts), np.concatenate(codes))
1014
1015
def get_data(self):
1016
"""Get `.StepPatch` values, edges and baseline as namedtuple."""
0 commit comments