Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # Copyright (c) 2017 MetPy Developers. |
||
13 | @pytest.mark.mpl_image_compare(tolerance=0, remove_text=True) |
||
14 | def test_axhline(): |
||
15 | r"""Ensure that passing a quantity to axhline does not error.""" |
||
16 | fig, ax = plt.subplots() |
||
17 | ax.axhline(930 * units('mbar')) |
||
18 | ax.set_ylim(900, 950) |
||
19 | return fig |
||
20 | |||
29 |