()
| 381 | |
| 382 | |
| 383 | def test_thetalim_valid_invalid(): |
| 384 | ax = plt.subplot(projection='polar') |
| 385 | ax.set_thetalim(0, 2 * np.pi) # doesn't raise. |
| 386 | ax.set_thetalim(thetamin=800, thetamax=440) # doesn't raise. |
| 387 | with pytest.raises(ValueError, |
| 388 | match='angle range must be less than a full circle'): |
| 389 | ax.set_thetalim(0, 3 * np.pi) |
| 390 | with pytest.raises(ValueError, |
| 391 | match='angle range must be less than a full circle'): |
| 392 | ax.set_thetalim(thetamin=800, thetamax=400) |
| 393 | |
| 394 | |
| 395 | def test_thetalim_args(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…