Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-02 Thread Nelle Varoquaux
On 2 July 2013 16:33, Anthony Scopatz wrote: > > On Tue, Jul 2, 2013 at 9:04 AM, Jason Grout > wrote: >> >> On 7/1/13 9:33 AM, Michael Droettboom wrote: >> > SciPy 2013 was a great success. I didn't get good headcount at the >> > matplotlib BOF, but it was a good number, and we had 15 participan

Re: [Matplotlib-users] bisecting triangulation

2013-07-02 Thread zetah
On вторник, 02 јули 2013 at 11:04 AM, Ian Thomas wrote: > >You need to use a matplotlib.tri.Triangulation (your use of triplot does >this for you behind the scenes anyway), something like: > >import matplotlib.tri as mtri >triang = mtri.Triangulation(xpoints, ypoints) > >Now triang.triangles is an

[Matplotlib-users] Basemap transform_vector for decreasing latitudes

2013-07-02 Thread kmanross
Greetings! Relative newbie here. I'm trying to plot wind vectors using basemap quiver and to fit my ortho projection. This is essentially a hack of Jeff Whitaker's animate.py found at https://github.com/matplotlib/basemap/blob/master/examples/animate.py The data source I'm connecting to, howev

Re: [Matplotlib-users] bug (annoyance) and fix in DraggableAnnotation.finalize_offset()

2013-07-02 Thread Valentine Cooper, Jo
Šand this afternoon, shortly after I sent this email, my test cases for this approach abruptly stopped functioning. Whoops. So y'all may want to hold off on this. (I thought it looked too easyŠ) Been that kind of day. :) -jo On 7/2/13 11:57 AM, "Valentine Cooper, Jo" wrote: >Ran into a bug this

[Matplotlib-users] matplotlib user survey 2013

2013-07-02 Thread Michael Droettboom
[Apologies for cross-posting] The matplotlib developers want to hear from you! We are conducting a user survey to determine how and where matplotlib is being used in order to focus its further development. This should only take a couple of minutes. To fill it out, visit: https://docs.google

[Matplotlib-users] bug (annoyance) and fix in DraggableAnnotation.finalize_offset()

2013-07-02 Thread Valentine Cooper, Jo
Ran into a bug this morning with draggable annotations. It would seem that finalize_offset() forcibly overrides the annotation's textcoords status to "axes fraction" so it can set the coordinates properly. That's all well and good, but if you were using some text coordinates system other than "axes

Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-02 Thread Michael Droettboom
On 07/02/2013 10:04 AM, Jason Grout wrote: On 7/1/13 9:33 AM, Michael Droettboom wrote: SciPy 2013 was a great success. I didn't get good headcount at the matplotlib BOF, but it was a good number, and we had 15 participants at various points during the sprints. It was nice to see the diversity

Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-02 Thread Anthony Scopatz
On Tue, Jul 2, 2013 at 9:04 AM, Jason Grout wrote: > On 7/1/13 9:33 AM, Michael Droettboom wrote: > > SciPy 2013 was a great success. I didn't get good headcount at the > > matplotlib BOF, but it was a good number, and we had 15 participants at > > various points during the sprints. It was nice

Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-02 Thread Jason Grout
On 7/1/13 9:33 AM, Michael Droettboom wrote: > SciPy 2013 was a great success. I didn't get good headcount at the > matplotlib BOF, but it was a good number, and we had 15 participants at > various points during the sprints. It was nice to see the diversity of > experience with matplotlib at the

Re: [Matplotlib-users] quickly return colorbar ticks?

2013-07-02 Thread Benjamin Root
This is a constant source of confusion. The colorbar object should be thought of as just another subaxes. To get the ticks, you want the ticks from the colorbar's yaxis or xaxis object accordingly. Of course, I could have sworn we added a helper function for this at some point, but I could be wr

Re: [Matplotlib-users] how to make a colorbar starting with a different color?

2013-07-02 Thread Benjamin Root
There is the "set_over" and "set_under" members of a colormap, and the plt.colorbar() function takes an "extend='min'" argument to add an extra color at the beginning of the colorbar. Setting "extendrect=True", the added color will be rectangular instead of triangular. Hopefully that helps. Cheer

Re: [Matplotlib-users] how to make a colorbar starting with a different color?

2013-07-02 Thread Chao YUE
One way I could think of is to make two contingent mat.axes.Axes, with a smaller one setting as white backgroud, and the other bigger on holding the colorbar. Is there some better way? Chao On Tue, Jul 2, 2013 at 12:12 PM, Chao YUE wrote: > Dear all, > > Does anyone have similar experience that

[Matplotlib-users] quickly return colorbar ticks?

2013-07-02 Thread Chao YUE
Dear all matplotlib users, I found there is not a get_ticks method available for colorbar instance, how could I quick get the ticks of a colorbar? thanks, Chao -- *** Chao YUE Laboratoire des Sciences du Climat et d

Re: [Matplotlib-users] bisecting triangulation

2013-07-02 Thread Ian Thomas
On 1 July 2013 13:40, zetah wrote: > Hi, > > I have set of points in a plane and make triplot: > > subplot(121) > plot(points[:,0], points[:,1], 'o') > title('Set of points') > subplot(122) > triplot(points[:,0], points[:,1]) > title('Triangulation') > > result: http://i.i