Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Milestone

Description
Similar to#5619 where when using symlog whereplt.yscale('symlog', linthresy=0.01)
, the threshold ends up as the default value.
Seems that should've beenplt.yscale('symlog', linthreshy=0.01)
but an error wasn't raised when I put in an invalid kwarg. Minimum working example shown below
importnumpyasnpimportmatplotlib.pyplotaspltx=np.linspace(-1,1,1000)y=10*xplt.subplot(3,1,1)plt.plot(x,y,'x')plt.title('Standard symlog')plt.yscale('symlog')plt.subplot(3,1,2)plt.plot(x,y,'x')plt.title('yscale with linthresy as a kwarg')# Should throw warning as i gave it a invalid kwargplt.yscale('symlog',linthresy=0.01)plt.subplot(3,1,3)plt.plot(x,y,'x')plt.title('yscale with linthreshy as a kwarg')plt.yscale('symlog',linthreshy=0.01)plt.show()
Metadata
Metadata
Assignees
Labels
No labels