Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8290e commit d1999b2Copy full SHA for d1999b2
lib/matplotlib/tests/test_axes.py
@@ -1524,6 +1524,15 @@ def test_bar_timedelta():
1524
(10, 20))
1525
1526
1527
+def test_boxplot_dates_pandas(pd):
1528
+ # smoke test for boxplot and dates in pandas
1529
+ data = np.random.rand(5, 2)
1530
+ years = pd.date_range('1/1/2000',
1531
+ periods=2, freq=pd.DateOffset(years=1)).year
1532
+ plt.figure()
1533
+ plt.boxplot(data, positions=years)
1534
+
1535
1536
def test_bar_pandas(pd):
1537
# Smoke test for pandas
1538
0 commit comments