Skip to content

Commit 1e7caa0

Browse files
committed
TST: add smoketest
1 parent e9532b0 commit 1e7caa0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,15 @@ def test_bar_timedelta():
15241524
(10, 20))
15251525

15261526

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+
15271536
def test_bar_pandas(pd):
15281537
# Smoke test for pandas
15291538

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy