()
| 175 | |
| 176 | @image_comparison(['polar_rorigin.png'], style='default') |
| 177 | def test_polar_rorigin(): |
| 178 | r = np.arange(0, 3.0, 0.01) |
| 179 | theta = 2*np.pi*r |
| 180 | |
| 181 | fig = plt.figure() |
| 182 | ax = fig.add_axes((0.1, 0.1, 0.8, 0.8), polar=True) |
| 183 | ax.plot(theta, r) |
| 184 | ax.set_rmax(2.0) |
| 185 | ax.set_rmin(0.5) |
| 186 | ax.set_rorigin(0.0) |
| 187 | |
| 188 | |
| 189 | @image_comparison(['polar_invertedylim.png'], style='default') |