Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Commit86a86e2
committed
Fix cbook._reshape2D for scalar object inputs.
Before the fix, `plt.hist(None)` would fail with `x must have 2 or fewerdimensions`, which it does have. Now it fails with a bit later with`unsupported operands type(s) for +: 'NoneType' and 'float'`, which ishopefully clearer.1 parent9a077e8 commit86a86e2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1990 | 1990 | | |
1991 | 1991 | | |
1992 | 1992 | | |
1993 | | - | |
| 1993 | + | |
1994 | 1994 | | |
1995 | 1995 | | |
1996 | 1996 | | |
| |||
0 commit comments
Comments
(0)