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 676f3eb commit 77e7b31Copy full SHA for 77e7b31
lib/matplotlib/tests/test_axes.py
@@ -1695,12 +1695,13 @@ def test_bar_pandas_indexed(pd):
1695
ax.bar(df.x, 1., width=df.width)
1696
1697
1698
-def test_pandas_smoke(pd):
1699
- # This should not raise any warnings
1700
- x = pd.Series([], dtype="float64")
+def test_pandas_minimal_plot(pd):
+ # smoke test that series and index objcets do not warn
+ x = pd.Series([1, 2], dtype="float64")
1701
plt.plot(x, x)
1702
plt.plot(x.index, x)
1703
plt.plot(x)
1704
+ plt.plot(x.index)
1705
1706
1707
@image_comparison(['hist_log'], remove_text=True)
0 commit comments