2012/11/14 Skipper Seabold :
> Hi All,
>
> Hoping someone can help me get a definitive answer to this question.
> Is draw_if_interactive bad to have in library plotting code?
I think the only issue here is the overhead of importing the whole
pyplot stuff and checking every now and then for interac
On 16 November 2012 15:38, Bror Jonsson wrote:
>
> Oh, I left out a line in the code, very sorry for that. Here is a full
> example:
>
> import numpy as np
> import pylab as pl
>
> #Generate a matrix populated with 1's
> fld = np.ones((4,4))
> #Set one corner of the matrix to NaN
> fld[:2,:2] = n
Hi Sterling,
Thanks for the help. Now we have a complete script that works as what we
want:
labels parallel with the colorbar with colorbar seperated
By the way, is it possible to put in the gallery?
from pylab import *
a = np.arange(100).reshape(10,10)
cbarlevel=np.arange(0,101,10)
c