MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_boxplot_dates_pandas

Function test_boxplot_dates_pandas

lib/matplotlib/tests/test_axes.py:2321–2327  ·  view source on GitHub ↗
(pd)

Source from the content-addressed store, hash-verified

2319
2320
2321def 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
2330def test_boxplot_capwidths():

Callers

nothing calls this directly

Calls 2

figureMethod · 0.80
boxplotMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…