You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
imshow with log/symlog scales fails to produce figures without raising an Exception #3931
I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail.
matplotlib v 1.4.2
%pylabinlineZ=randn(10000).reshape(100, -1)
# Worksfigure()
imshow(Z)
# Produces no figure if x/y limits are not specified# Does NOT raise an exception!figure()
imshow(Z)
xscale('log')
yscale('log')
# Worksfigure()
imshow(Z)
xscale('log')
yscale('log')
xlim(1, 20)
ylim(1, 20)
# Produces no figure in symlog scale# Does NOT raise an exception!figure()
imshow(Z)
xscale('symlog')
yscale('symlog')
# Produces no figure in symlog scale# Does NOT raise an exception!figure()
imshow(Z)
xscale('symlog', linthreshx=10**-3)
yscale('symlog', linthreshy=10**-3)
xlim(0, 20)
ylim(0, 20)
Activity
tacaswell commentedon Feb 19, 2015
When I run this I get all sorts of warnings:
Some of which wight also be bugs...
Can you try running this as a script or in a non-notebook ipython session? I suspect that the notebook is snarfing something it should not be...
QuLogic commentedon Jul 19, 2017
No answer in 2.5 years, so closing. @eyurtsev please re-open or open a new issue if you still have the issue with latest Matplotlib.