()
| 1406 | |
| 1407 | |
| 1408 | def test_pcolorargs_5205(): |
| 1409 | # Smoketest to catch issue found in gh:5205 |
| 1410 | x = [-1.5, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5] |
| 1411 | y = [-1.5, -1.25, -1.0, -0.75, -0.5, -0.25, 0, |
| 1412 | 0.25, 0.5, 0.75, 1.0, 1.25, 1.5] |
| 1413 | X, Y = np.meshgrid(x, y) |
| 1414 | Z = np.hypot(X, Y) |
| 1415 | |
| 1416 | plt.pcolor(Z) |
| 1417 | plt.pcolor(list(Z)) |
| 1418 | plt.pcolor(x, y, Z[:-1, :-1]) |
| 1419 | plt.pcolor(X, Y, list(Z[:-1, :-1])) |
| 1420 | |
| 1421 | |
| 1422 | @image_comparison(['pcolormesh'], remove_text=True, style='_classic_test', |
nothing calls this directly
no test coverage detected
searching dependent graphs…