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 77a0446 commit 2a64a0dCopy full SHA for 2a64a0d
lib/matplotlib/tests/test_axes.py
@@ -1749,11 +1749,12 @@ def test_bar_hatches(fig_test, fig_ref):
1749
1750
def test_pandas_minimal_plot(pd):
1751
# smoke test that series and index objcets do not warn
1752
- x = pd.Series([1, 2], dtype="float64")
1753
- plt.plot(x, x)
1754
- plt.plot(x.index, x)
1755
- plt.plot(x)
1756
- plt.plot(x.index)
+ for x in [pd.Series([1, 2], dtype="float64"),
+ pd.Series([1, 2], dtype="Float32")]:
+ plt.plot(x, x)
+ plt.plot(x.index, x)
+ plt.plot(x)
1757
+ plt.plot(x.index)
1758
1759
1760
@image_comparison(['hist_log'], remove_text=True)
0 commit comments