// Plots a simple linear function "f(x) = x"
ax.plot(x, x)
ax.set_xscale("symlog", linthreshx=0.1)
ax.grid(True)
ax = fig.add_subplot(515)
// Plots a simple linear function "f(x) = x"
ax.plot(x, x)
After Change
x = np.arange(-50, 50, 0.001)
fig, axs = plt.subplots(5, 1)
for ax, linthreshx in zip(axs, [20., 2., 1., 0.1, 0.01]):
ax.plot(x, x)
ax.set_xscale("symlog", linthreshx=linthreshx)
ax.grid(True)