8000 FIX: simplify a bit more · matplotlib/matplotlib@6dfa93a · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dfa93a

Browse files
committed
FIX: simplify a bit more
1 parent 509626d commit 6dfa93a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/cbook/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,9 +1306,6 @@ def _check_1d(x):
13061306
if not hasattr(x, 'shape') or len(x.shape) < 1:
13071307
return np.atleast_1d(x)
13081308
else:
1309-
ndim = x[:, None].ndim
1310-
if ndim < 2:
1311-
return np.atleast_1d(x)
13121309
return x
13131310

13141311

0 commit comments

Comments
 (0)
0