()
| 5079 | |
| 5080 | @image_comparison(['stem_orientation.png'], style='mpl20', remove_text=True) |
| 5081 | def test_stem_orientation(): |
| 5082 | x = np.linspace(0.1, 2*np.pi, 50) |
| 5083 | |
| 5084 | fig, ax = plt.subplots() |
| 5085 | ax.stem(x, np.cos(x), |
| 5086 | linefmt='C2-.', markerfmt='kx', basefmt='C1-.', |
| 5087 | orientation='horizontal') |
| 5088 | |
| 5089 | |
| 5090 | def test_stem_polar_baseline(): |