On 2013/03/28 8:23 AM, Jody Klymak wrote:
> Hi Eric,
>
> The docs seem to indicate "clim" is an acceptable kwarg, hence my confusion...

Jody,

You are right, that chunk of the docs is completely fouled up with 
respect to kwargs.  Thanks for pointing it out.  The whole table of 
supposed QuadMesh properties should not be there.  Doc autogeneration 
has run amok here.  Pay attention only to the listed keyword arguments 
above that table.

Eric

>
> http://matplotlib.org/api/pyplot_api.html?highlight=pcolormesh#matplotlib.pyplot.pcolormesh
>
> Thanks,  Jody
>
> On Mar 28, 2013, at  11:12 AM, Eric Firing <efir...@hawaii.edu> wrote:
>
>> On 2013/03/28 7:56 AM, Jody Klymak wrote:
>>>
>>> Hi all,
>>>
>>> In 1.2.0:
>>>
>>> pcolormesh(x,z,U,rasterized='True',cmap=cm.RdBu_r,clim=(-1.,1.))
>>
>> Jody,
>>
>> There is no clim kwarg, only a clim pyplot function.  You can do this,
>> though:
>>
>> pcolormesh(..., vmin=-1, vmax=1)
>>
>> Eric
>>
>>
>>> #clim((-1.,1.))
>>>
>>> Doesn't seem to work, where as
>>>
>>> pcolormesh(x,z,U,rasterized='True',cmap=cm.RdBu_r,clim=(-1.,1.))
>>> clim((-1.,1.))
>>>
>>> does work.  Is this a bug or am I misunderstanding "clim" in the context of 
>>> pcolormesh?
>>>
>>> Thanks,   Jody
>>>
>>> --
>>> Jody Klymak
>>> http://web.uvic.ca/~jklymak/
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
>>> Rise to greatness in Intel's independent game demo contest.
>>> Compete for recognition, cash, and the chance to get your game
>>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Matplotlib-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
>> Rise to greatness in Intel's independent game demo contest.
>> Compete for recognition, cash, and the chance to get your game
>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> --
> Jody Klymak
> http://web.uvic.ca/~jklymak/
>
>
>
>


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to