()
| 166 | |
| 167 | @image_comparison(['date_axhline.png'], style='mpl20') |
| 168 | def test_date_axhline(): |
| 169 | # test axhline with date inputs |
| 170 | t0 = datetime.datetime(2009, 1, 20) |
| 171 | tf = datetime.datetime(2009, 1, 31) |
| 172 | fig, ax = plt.subplots() |
| 173 | ax.axhline(t0, color="blue", lw=3) |
| 174 | ax.set_ylim(t0 - datetime.timedelta(days=5), |
| 175 | tf + datetime.timedelta(days=5)) |
| 176 | fig.subplots_adjust(left=0.25) |
| 177 | |
| 178 | |
| 179 | @image_comparison(['date_axvline.png'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…