8000 Refactor test_symlog_linthresh unit test · matplotlib/matplotlib@6bc9f61 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6bc9f61

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/tests/test_scale.py

Lines 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