()
| 5797 | |
| 5798 | |
| 5799 | def test_vlines_default(): |
| 5800 | fig, ax = plt.subplots() |
| 5801 | with mpl.rc_context({'lines.color': 'red'}): |
| 5802 | lines = ax.vlines(0.5, 0, 1) |
| 5803 | assert mpl.colors.same_color(lines.get_color(), 'red') |
| 5804 | |
| 5805 | |
| 5806 | @image_comparison(['hlines_basic.png', 'hlines_with_nan.png', 'hlines_masked.png'], |