As far as I can see, this is a bug of matplolib, although calling a
set_data work around this. Can you open a bug report in our github repo?
-JJ
2012. 2. 18. 오후 10:12에 Ray Osborn rosb...@anl.gov님이 작성:
You're exactly right. That does fix it. Unfortunately, it means I have to
refactor some of
I think you're right. Even if there is a work-around, it can't be right for the
colorbar to change without affecting the image. I've filed issue #708.
Thanks,
Ray
On Feb 19, 2012, at 4:37 AM, Jae-Joon Lee wrote:
As far as I can see, this is a bug of matplolib, although calling a set_data
Ray Osborn:
OK - it turns out I can reproduce it in a simple ipython session using
ipython --pylab=qt.
I set up an image plot as follows:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.image import NonUniformImage
x=y=np.linspace(0,2*np.pi,101)
X,Y=np.meshgrid(x,y)
You're exactly right. That does fix it. Unfortunately, it means I have to
refactor some of my code because the Pyside slot doesn't currently have access
to the original data, but that's not a huge deal.
Thanks,
Ray
On Feb 18, 2012, at 4:35 AM, Jerzy Karczmarczuk wrote:
Ray Osborn:
OK - it
I am embedding a matplotlib canvas in a Pyside GUI and wanted to attach a
slider to adjust the color scale of a 2D plot made using NonUnitformImage. I am
connecting the slider value to im.set_clim([vmin,vmax]). I have got my axis
sliders to work, but the intensity slider only adjusts the
On Friday, February 17, 2012, Ray Osborn wrote:
I am embedding a matplotlib canvas in a Pyside GUI and wanted to attach a
slider to adjust the color scale of a 2D plot made using NonUnitformImage.
I am connecting the slider value to im.set_clim([vmin,vmax]). I have got my
axis sliders to
OK - it turns out I can reproduce it in a simple ipython session using ipython
--pylab=qt.
I set up an image plot as follows:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.image import NonUniformImage
x=y=np.linspace(0,2*np.pi,101)
X,Y=np.meshgrid(x,y)
z=sin(X)*sin(Y)