Skip to content

Commit a24daae

Browse files
oscargustacaswell
andauthored
Rename y -> r
Co-authored-by: Thomas A Caswell <[email protected]>
1 parent a0d4e6b commit a24daae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_polar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ def test_polar_log():
441441
fig = plt.figure()
442442
ax = fig.add_subplot(polar=True)
443443

444-
ax.set_yscale('log')
445-
ax.set_ylim(1, 1000)
444+
ax.set_rscale('log')
445+
ax.set_rlim(1, 1000)
446446

447447
n = 100
448448
ax.plot(np.linspace(0, 2 * np.pi, n), np.logspace(0, 2, n))

0 commit comments

Comments
 (0)