()
| 293 | |
| 294 | |
| 295 | def test_polar_no_data(): |
| 296 | plt.subplot(projection="polar") |
| 297 | ax = plt.gca() |
| 298 | assert ax.get_rmin() == 0 and ax.get_rmax() == 1 |
| 299 | plt.close("all") |
| 300 | # Used to behave differently (by triggering an autoscale with no data). |
| 301 | plt.polar() |
| 302 | ax = plt.gca() |
| 303 | assert ax.get_rmin() == 0 and ax.get_rmax() == 1 |
| 304 | |
| 305 | |
| 306 | def test_polar_default_log_lims(): |