Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78d949b

Browse files
Updated 3 parameters, issue matplotlib#47
1 parent 58465a8 commit 78d949b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/scales.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# Log scale
2626
# -----------------------------------------------------------------------------
27-
ax.set_xscale("log", basex=10)
27+
ax.set_xscale("log", base=10)
2828
ax.plot(X, Y, color="C1", linewidth=0.75)
2929
ax.set_ylim(-2.5,1.5)
3030
ax.text(0, 0.12, "0", ha="left", va="bottom", size=3, transform=ax.transAxes)
@@ -36,7 +36,7 @@
3636

3737
# Symlog scale
3838
# -----------------------------------------------------------------------------
39-
ax.set_xscale("symlog", basex=10, linthreshx=1)
39+
ax.set_xscale("symlog", base=10, linthresh=1)
4040
ax.plot(X, Y, color="C1", linewidth=0.75)
4141
ax.set_ylim(-2.5,1.5)
4242
ax.text(0, 0.12, "-∞", ha="left", va="bottom", size=3, transform=ax.transAxes)

0 commit comments

Comments
 (0)