Skip to content

Commit ebef650

Browse files
committed
Switch to hstack for consistency
1 parent ef5689f commit ebef650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5471,8 +5471,8 @@ def get_interp_point(idx):
54715471
collection = mcoll.PolyCollection(polys, **kwargs)
54725472

54735473
# now update the datalim and autoscale
5474-
pts = np.vstack([np.column_stack([ind[where], dep1[where]]),
5475-
np.column_stack([ind[where], dep2[where]])])
5474+
pts = np.vstack([np.hstack([ind[where, None], dep1[where, None]]),
5475+
np.hstack([ind[where, None], dep2[where, None]])])
54765476
if ind_dir == "y":
54775477
pts = pts[:, ::-1]
54785478

0 commit comments

Comments
 (0)