Commit 7dfc0f0
Fix Issue 26821: [Bug]: ValueError: The truth value... when an ndarray is passed to the color kwarg of axes3d.scatter (matplotlib#26834)
* FIX: [Bug]: ValueError: The truth value... when an ndarray is passed to the color kwarg of axes3d.scatter
* added smoke test to ensure no value error is thrown
* fixed smoke test to use fig canvas draw rather than plt show
* added an extra line and reduced line length to comply with flake8
* removed trailing whitespace
* Update lib/mpl_toolkits/mplot3d/tests/test_axes3d.py
Co-authored-by: Kyle Sunden <[email protected]>
---------
Co-authored-by: Kyle Sunden <[email protected]>1 parent 48daa99 commit 7dfc0f0
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2672 | 2672 | | |
2673 | 2673 | | |
2674 | 2674 | | |
2675 | | - | |
| 2675 | + | |
2676 | 2676 | | |
2677 | 2677 | | |
2678 | 2678 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
0 commit comments