Test that the baseline is interpolated so that it will follow the radius.
()
| 5088 | |
| 5089 | |
| 5090 | def test_stem_polar_baseline(): |
| 5091 | """Test that the baseline is interpolated so that it will follow the radius.""" |
| 5092 | fig = plt.figure() |
| 5093 | ax = fig.add_subplot(projection='polar') |
| 5094 | x = np.linspace(1.57, 3.14, 10) |
| 5095 | y = np.linspace(0, 1, 10) |
| 5096 | bottom = 0.5 |
| 5097 | container = ax.stem(x, y, bottom=bottom) |
| 5098 | assert container.baseline.get_path()._interpolation_steps > 100 |
| 5099 | |
| 5100 | |
| 5101 | @image_comparison(['hist_stacked_stepfilled_alpha.png'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…