()
| 955 | |
| 956 | @image_comparison(['date_inverted_limit.png'], style='mpl20') |
| 957 | def test_date_inverted_limit(): |
| 958 | # test ax hline with date inputs |
| 959 | t0 = datetime.datetime(2009, 1, 20) |
| 960 | tf = datetime.datetime(2009, 1, 31) |
| 961 | fig, ax = plt.subplots() |
| 962 | ax.axhline(t0, color="blue", lw=3) |
| 963 | ax.set_ylim(t0 - datetime.timedelta(days=5), |
| 964 | tf + datetime.timedelta(days=5)) |
| 965 | ax.invert_yaxis() |
| 966 | fig.subplots_adjust(left=0.25) |
| 967 | |
| 968 | |
| 969 | def _test_date2num_dst(date_range, tz_convert): |
nothing calls this directly
no test coverage detected
searching dependent graphs…