I just use blit on imshow map, and work properly. Maybe the following code
will help you.
def ontimer()
canvas.restore_region(background)
im.set_array(Z)
ax.draw_artist(self.imList[i])
canvas.blit(ax.bbox)
canvas.gui_repaint()
--
View this message in context:
I just want to set ["10%","20%"] on colorbar. However, failed again and
again. Thank you for your help.
The following code work properly. But when I set formatter =
FixedFormatter(["10%","20%","30%","40%"])
No labels is shown on colorbar, Why?
Is there any way to set the char "%" on colorbar
Hello:
I am having some trouble with the syntax for plotting using matplotlib. I
have appended a simple script which illustrates the problem. When I run
the script the first plot command gives the expected results but the
second, third and fourth plot commands do not. The second window does
op
In reference to:
http://news.gmane.org/find-root.php?message_id=%3cc7009a550804100055g6388b20ej520e85d8e679a55%40mail.gmail.com%3e
A point was brought up that deserves wider dissemination and a
correction, hence my posting to two lists.
To reduce confusion among new users and to improve code rea
Alan G Isaac wrote:
> On Fri, 11 Apr 2008, Eric Firing apparently wrote:
>> It sounds like what you want is a listed colormap with direct indexing
>> using a NoNorm() instance as the norm:
>
>> cmap = mpl.colors.ListedColormap(['k', 'r', 'b'])
>> norm = mpl.colors.NoNorm()
>> matshow(aa, cmap=cma
For some reason when trying to save in PNG format on OS X 10.5.2, a
window pops up with the error:
Matplotlib backend_wx error
cannot return std::string from Unicode object
This is with the simple scipy demo at
http://www.scipy.org/Cookbook/OptimizationDemo1
Gideon Simpson
Department of Ap
On Sat, 12 Apr 2008, Alan G Isaac apparently wrote:
> 1. Running anim.py at DOS prompt: it runs correctly until
> the end:
> Fatal Python error: PyEval_RestoreThread: NULL tstate
OK, there is a simple fix to this:
explicitly close the figure after the loop.
I'll attach a fixed example file, i
On Fri, 11 Apr 2008, Eric Firing apparently wrote:
> It sounds like what you want is a listed colormap with direct indexing
> using a NoNorm() instance as the norm:
> cmap = mpl.colors.ListedColormap(['k', 'r', 'b'])
> norm = mpl.colors.NoNorm()
> matshow(aa, cmap=cmap, norm=norm, interpolation='
Thanks! Perfect! I *love* matplotlib!!!
Darren Dale wrote:
> On Saturday 12 April 2008 7:19:32 am Norbert Nemec wrote:
>
>> Hi there,
>>
>> I often have the case that I want to view different data sets that share
>> one axis. Imagine, for example, a time series of several different
>> observabl
On Saturday 12 April 2008 7:19:32 am Norbert Nemec wrote:
> Hi there,
>
> I often have the case that I want to view different data sets that share
> one axis. Imagine, for example, a time series of several different
> observables. Since all observables may have different units, scales and
> offsets
Hi there,
I often have the case that I want to view different data sets that share
one axis. Imagine, for example, a time series of several different
observables. Since all observables may have different units, scales and
offsets, I would want to display them as separate subplots that have the
what options we have for performing ssh (actually scp) on Windows and Linux
from Python.
Note that Linux has builtin ssh/scp, hence, pexpect should be a simple
option, but to the best
of my knowledge Windows does not anything. I would like to see a list of
options on this.
Would you please help
12 matches
Mail list logo