()
| 151 | |
| 152 | @image_comparison(['polar_rmin.png'], style='default') |
| 153 | def test_polar_rmin(): |
| 154 | r = np.arange(0, 3.0, 0.01) |
| 155 | theta = 2*np.pi*r |
| 156 | |
| 157 | fig = plt.figure() |
| 158 | ax = fig.add_axes((0.1, 0.1, 0.8, 0.8), polar=True) |
| 159 | ax.plot(theta, r) |
| 160 | ax.set_rmax(2.0) |
| 161 | ax.set_rmin(0.5) |
| 162 | |
| 163 | |
| 164 | @image_comparison(['polar_negative_rmin.png'], style='default') |