Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77e7b31

Browse filesBrowse files
committed
TST: renamed test to be less idiomatic
1 parent 676f3eb commit 77e7b31
Copy full SHA for 77e7b31

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,12 +1695,13 @@ def test_bar_pandas_indexed(pd):
16951695
ax.bar(df.x, 1., width=df.width)
16961696

16971697

1698-
def test_pandas_smoke(pd):
1699-
# This should not raise any warnings
1700-
x = pd.Series([], dtype="float64")
1698+
def test_pandas_minimal_plot(pd):
1699+
# smoke test that series and index objcets do not warn
1700+
x = pd.Series([1, 2], dtype="float64")
17011701
plt.plot(x, x)
17021702
plt.plot(x.index, x)
17031703
plt.plot(x)
1704+
plt.plot(x.index)
17041705

17051706

17061707
@image_comparison(['hist_log'], remove_text=True)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.