(order)
| 541 | @image_comparison(baseline_images=['polar_errorbar.png'], remove_text=True, |
| 542 | style='mpl20') |
| 543 | def test_polar_errorbar(order): |
| 544 | theta = np.arange(0, 2 * np.pi, np.pi / 8) |
| 545 | r = theta / np.pi / 2 + 0.5 |
| 546 | fig = plt.figure(figsize=(5, 5)) |
| 547 | ax = fig.add_subplot(projection='polar') |
| 548 | if order == "before": |
| 549 | ax.set_theta_zero_location("N") |
| 550 | ax.set_theta_direction(-1) |
| 551 | ax.errorbar(theta, r, xerr=0.1, yerr=0.1, capsize=7, fmt="o", c="seagreen") |
| 552 | else: |
| 553 | ax.errorbar(theta, r, xerr=0.1, yerr=0.1, capsize=7, fmt="o", c="seagreen") |
| 554 | ax.set_theta_zero_location("N") |
| 555 | ax.set_theta_direction(-1) |
| 556 | |
| 557 | |
| 558 | def test_radial_limits_behavior(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…