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 6bc9f61

Browse filesBrowse files
Refactor test_symlog_linthresh unit test
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 10c413a commit 6bc9f61
Copy full SHA for 6bc9f61

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎lib/matplotlib/tests/test_scale.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_scale.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ def test_symlog_mask_nan():
5656

5757

5858
def test_symlog_linthresh():
59-
fig, ax = plt.subplots()
60-
6159
np.random.seed(19680801)
6260
x = np.random.random(100)
6361
y = np.random.random(100)
6462

63+
fig, ax = plt.subplots()
6564
plt.plot(x, y, 'o')
6665
ax.set_xscale('symlog')
6766
ax.set_yscale('symlog')

0 commit comments

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