(pd)
| 2319 | |
| 2320 | |
| 2321 | def test_boxplot_dates_pandas(pd): |
| 2322 | # smoke test for boxplot and dates in pandas |
| 2323 | data = np.random.rand(5, 2) |
| 2324 | years = pd.date_range('1/1/2000', |
| 2325 | periods=2, freq=pd.DateOffset(years=1)).year |
| 2326 | plt.figure() |
| 2327 | plt.boxplot(data, positions=years) |
| 2328 | |
| 2329 | |
| 2330 | def test_boxplot_capwidths(): |