Re: [matplotlib-devel] Event handling example not working

2008-10-28 Thread Ryan May
contains, attrd = self.rect.contains(event) > if not contains: return > xy = self.rect.get_x(),self.rect.get_y() > print 'event contains', xy > x0, y0 = xy > self.press = x0, y0, event.xdata, event.ydata > Good catch. I checked in

Re: [matplotlib-devel] Event handling example not working

2008-10-29 Thread Ryan May
Michael's transforms work. If it's considered desirable to have it back, I'll volunteer to whip up a patch to make it a property. If not, let's just make sure we document this in API_CHANGES. My opinion is that randomly breaking API is always bad, and there's not much e

Re: [matplotlib-devel] Event handling example not working

2008-11-05 Thread Ryan May
John Hunter wrote: > On Wed, Oct 29, 2008 at 4:00 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> Here's probably a better question to ask than just to fix the example. >> Was it intended that the Rectangle.xy attribute disappear? I couldn't >> find it do

[matplotlib-devel] mlab.psd API

2008-11-05 Thread Ryan May
FFT, confusingly, is used to specify the blocksize used for averaging. If we can't outright change names here, I'd love for suggestions on a good way forward. 3) Can we remove the requirement for even NFFT (blocksize)? Ryan -- Ryan May Graduate Research Assistant School of Mete

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
looks like any 1D sequence will trigger colormapping instead of strings being mapped to rgba arrays. I'll keep digging to see what changed. (Unless someone beats me to it.) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [matplotlib-devel] SF.net SVN: matplotlib:[6385] trunk/matplotlib/lib/matplotlib/cbook.py

2008-11-10 Thread Ryan May
to just check to see if the string is an instance of np.string_. It works, along with a few other things, to fix the scatter() problem. I was just getting ready to start running this stuff by the list... Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklaho

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
0ff'] > c = ['b','r', 'g'] > c = [(1,0,0), (0,1,0), (0,0,1)] > > scatter(x, y, c=c) > > show() I'm working on a better fix right now, but can you try making sure you have more (or less) colors specified than needed? I think that should work

Re: [matplotlib-devel] SF.net SVN: matplotlib:[6385] trunk/matplotlib/lib/matplotlib/cbook.py

2008-11-10 Thread Ryan May
nstance(s, str) True I think a nicer workaround at the moment might be to just see if the passed in object *is* indeed a string instance, and if so, return True. I can't imagine that breaking anything. Figuring out why font dictionary handling breaks would be good to do however. Ryan --

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digg

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digg

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Ryan May wrote: > >> Ok, here's a patch that fixes the problem for me, as well as a test >> script that tests a bunch of the color options along with having more, >> the same, and less

Re: [matplotlib-devel] Help with scatter

2008-11-11 Thread Ryan May
king at this point it was more your patch anyways, and I had just done the work of tracking down all the problem spots. Saves me the effort of doing the checkin. :) Ryan -- Ryan May Graduate Research Assistant School of Mete

[matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
rs. Would it be a good thing to restructure the duplicated docs into it's own string that can be incorporated when necessary? Or is this kind of "monkey patching" of the docs something we're trying to minimize? Ryan -- Ryan May Graduate Research Assistant School of Mete

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
d up doing an extra FFT vs. the same call to psd. I think I might finally have a solution: 1) Have psd(x) call csd(x,x) 2) Have csd() check if y is x, and if so, avoid doing the extra work. Would this be an acceptable solution to reduce code duplication? On a separate note, once I get done with t

Re: [matplotlib-devel] Repeating docs

2008-11-11 Thread Ryan May
John Hunter wrote: > On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> 1) Have psd(x) call csd(x,x) >> 2) Have csd() check if y is x, and if so, avoid doing the extra work. >> >> Would this be an acceptable solution to reduce code dupl

[matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Ryan May
Hi, Is there any reason pyplot.fill() doesn't support masked arrays? Or was it just overlooked? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- SF.Net email is Spon

Re: [matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Ryan May
Ryan May wrote: > Hi, > > Is there any reason pyplot.fill() doesn't support masked arrays? Or was > it just overlooked? Looks like this is better handled by fill_between, nevermind. Now, what about dates? I'm having problems using dates for the x-axis for fill_betw

Re: [matplotlib-devel] pyplot.fill() and masked arrays

2008-12-05 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Now, what about dates? I'm having problems using dates for the x-axis >> for fill_between. I know I can use date2num on my array, but I was >> wonder if there was some magic I could add to the fill_between code. > > Mag

[matplotlib-devel] CHANGELOG tabs

2008-12-08 Thread Ryan May
Hi, It looks like some tabs have crept into the CHANGELOG file. Is anyone opposed to me changing them to the equivalent (8) spaces? It messes up my editor, which is set to display them as 4 spaces, and makes it think that tabs are the proper way to indent. Ryan -- Ryan May Graduate

[matplotlib-devel] dashtick.py example broken

2008-12-08 Thread Ryan May
,funcName) AttributeError: 'Text' object has no attribute 'set_dashrotation' I'm clueless on this code, so this is just an FYI. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma

[matplotlib-devel] TextCollection

2008-12-10 Thread Ryan May
tion to the x,y location. These offsets would, for instance, allow one to plot city names above the dot marking the location instead of on top of it. Any thoughts? I'm especially interested in any potential pitfalls (like inheriting from Text). Ryan -- Ryan May Graduat

Re: [matplotlib-devel] (group) id support for artist

2008-12-17 Thread Ryan May
g filter is not supported by all the svg renderer. > Inkscape is the best open source tool that I know of which supports > svg filter. The lighting filters (used svg_filter_pie.py) work fine > with inkscape. Gaussian blurring (svg_filter_line.py) is also > supported by firefox. W

Re: [matplotlib-devel] Native backend for Mac OS X

2008-12-17 Thread Ryan May
e are fairly new to the branch/trunk release maintenance game > and want to get some input and provide some color about which patches > should go where, especially in gray areas like this. I'm +1 on going ahead and putting this on the branch, for the reasons you

[matplotlib-devel] Basemap inclusion of pupynere

2008-12-17 Thread Ryan May
Jeff, Would it be a lot of work for basemap to use the system copy of pupynere if it's installed, instead of installing its own copy? (like what's already done for dap and httplib2) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University o

Re: [matplotlib-devel] Basemap inclusion of pupynere

2008-12-17 Thread Ryan May
Jeff Whitaker wrote: > Ryan May wrote: >> Jeff, >> >> Would it be a lot of work for basemap to use the system copy of >> pupynere if it's installed, instead of installing its own copy? (like >> what's already done for dap and httplib2) >> &g

Re: [matplotlib-devel] Basemap inclusion of pupynere

2008-12-17 Thread Ryan May
Jeff Whitaker wrote: > Ryan May wrote: >> On a related note, is there any reason that Basemap/pyshapelib >> couldn't use a system copy of shapelib? Right now, Gentoo's patching >> the setup.py to do this. I was curious if we could move that upstream. > I kno

Re: [matplotlib-devel] Matplotlib patch on EPD trac?

2009-01-09 Thread Ryan May
John Hunter wrote: > Ryan May has been doing all the heavy lifting with respect to PSD and > specgram, so I am going to turf this to him :-) It may be that the > bug filer's problems are resolved in the recent changes in 98.5.2, but > Ryan should confirm > > On Fri, Jan 9

Re: [matplotlib-devel] Matplotlib patch on EPD trac?

2009-01-12 Thread Ryan May
Paul Kienzle wrote: > > On Jan 9, 2009, at 6:12 PM, Ryan May wrote: > >> Maybe it's time to refactor here to get routine(s) that operate how we >> want (IMO >> more sanely than Matlab), and we provide wrappers that give >> Matlab-like behavior. >>

Re: [matplotlib-devel] [SciPy-user] recursion limit in plot

2009-01-15 Thread Ryan May
7;7.4', '11.4', '14.2', '16.3', '18.1', '19.3', '20.6', '21.6', '22.6', > '23.4', '24.1', '24.9', '25.4', '26.1',

Re: [matplotlib-devel] [SciPy-user] recursion limit in plot

2009-01-15 Thread Ryan May
Ryan May wrote: > Neal Becker wrote: >> What's wrong here? >> This code snippet: >> >> from pylab import plot, show >> print Id >> print pout >> >> plot (Id, pout) >> show() >> >> produces: >> ['50', &#

Re: [matplotlib-devel] [SciPy-user] recursion limit in plot

2009-01-15 Thread Ryan May
John Hunter wrote: > On Thu, Jan 15, 2009 at 4:58 PM, Ryan May wrote: > >> Ok, my debugging tells me the problem comes down to the units support, >> specifically this code starting at line 130 in units.py: >> >>if converter is None and iterable(x): >>

[matplotlib-devel] units/ example scripts

2009-01-16 Thread Ryan May
le "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/axes.py", line 4678, in errorbar in cbook.safezip(y,yerr)] TypeError: unsupported operand type(s) for -: 'int' and 'TaggedValue' If anyone has any quick ideas on what might have gone wrong (or if th

Re: [matplotlib-devel] units/ example scripts

2009-01-16 Thread Ryan May
though if anyone else feels motivated, feel free!) :) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- This SF.net email is sponsored by: SourcForge Community SourceForge wan

[matplotlib-devel] set_aspect with shared axes

2009-01-22 Thread Ryan May
ively zooms out, adjusting data limits until both figures have their aspect ratio properly set again. I thought using 'box' might alleviate the problem, but that's throwing an exception. I realize making the figures have the same layout would solve the problem, I just wasn

[matplotlib-devel] online docs updating?

2009-01-27 Thread Ryan May
responding changes on http://matplotlib.sourceforge.net/users/shell.html. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- This SF.net email is sponsored by: SourcForge Community S

Re: [matplotlib-devel] online docs updating?

2009-01-28 Thread Ryan May
John Hunter wrote: > On Tue, Jan 27, 2009 at 3:33 PM, Ryan May wrote: >> Hi, >> >> Do the online docs automatically update themselves from changes in SVN? I >> thought there was a nightly cron. I made some changes a few days ago (just >> a few >> typo

Re: [matplotlib-devel] Patch to fix api/matplotlib_configuration_api.html

2009-02-05 Thread Ryan May
Sandro Tosi wrote: > Hi all! > Attached a very simple patch to show "matplotlib.patches" correctly in > the docpage above. Checked in on the trunk and maintainance branch, so it should get picked up whenever John pushes new docs to the website. Thanks for catching this.

Re: [matplotlib-devel] Build Failure on Windows using Python25

2009-02-06 Thread Ryan May
e Microsoft supports. > Well, we're also talking about C++ here and not C, so C99 does not apply. A quick googling around seems to indicate that some of the open source compilers support such a type, but it not standardized by C++. Ryan -- Ryan May Graduate Research Assis

Re: [matplotlib-devel] Build Failure on Windows using Python25

2009-02-06 Thread Ryan May
On Fri, Feb 6, 2009 at 4:48 PM, Andrew Straw wrote: > Ryan May wrote: > > On Fri, Feb 6, 2009 at 3:27 PM, Andrew Straw > <mailto:straw...@astraw.com>> wrote: > > > > Patrick, > > > > Can you see if adding "#include " at the top of

[matplotlib-devel] Status of Wx backend

2009-02-09 Thread Ryan May
en(x, y1, y2, where=y2>y1, facecolor='#8388FC', edgecolor='None') ax.fill_between(x, y1, y2, where=y2<=y1, facecolor='#C14F53', edgecolor='None') ax.set_title('fill between where') show() Thoughts? Ryan --

[matplotlib-devel] svnmerge other files?

2009-02-13 Thread Ryan May
Hi, Can anyone explain why everytime I go to merge changes from the maintainance branch, it wants to tweak these files (besides the ones I actually changed)? doc/pyplots/README doc/sphinxext/gen_gallery.py doc/sphinxext/gen_rst.py Ryan -- Ryan May Graduate Research Assistant School of

Re: [matplotlib-devel] File format for plots

2009-03-02 Thread Ryan May
can look at that file and figure out what's going on without learning anything new. Now, a matplotlib backend that writes out python code could be useful and cool, though it would only matter for the large applications/scripts. In fact, it's at the application level th

Re: [matplotlib-devel] File format for plots

2009-03-03 Thread Ryan May
On Mon, Mar 2, 2009 at 3:52 PM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > On Mon, Mar 02, 2009 at 01:49:38PM -0600, Ryan May wrote: > >Other than the automatic regeneration from latex, what you want sounds > >like what we already have: small python

[matplotlib-devel] stixsans + mathtext.default : regular

2009-03-04 Thread Ryan May
py", line 919, in _map_virtual_font mapping = mapping[font_class] KeyError: 'regular' Is this a supported configuration? I know that I personally like the look of the text with these two settings. Thoughts? Ryan -- Ryan May Graduate Research Assistant School of Meteorology Univers

[matplotlib-devel] stixsans + mathtext.default : regular

2009-03-04 Thread Ryan May
ne that you had fixed. My original script doesn't show any problem, but I've attached an image produced with the mathtext_demo.py. Notice the odd baseline for versus in the title and sin in the equation on the graph. Thoughts? Ryan -- Ryan May Graduate Research Assistant School o

Re: [matplotlib-devel] stixsans + mathtext.default : regular

2009-03-04 Thread Ryan May
That fixes it for me. Thanks a lot for the quick fixes! Ryan On Wed, Mar 4, 2009 at 2:53 PM, Michael Droettboom wrote: > I was rounding where I should have been truncating. I think this is fixed > now in SVN. > > Mike > > Ryan May wrote: > >> On Wed, Mar 4

Re: [matplotlib-devel] Patch for screenshot.rst - pie

2009-03-23 Thread Ryan May
> Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from: Norman Oklahoma United States. ---

[matplotlib-devel] QuadMesh method for setting grid

2009-03-24 Thread Ryan May
consistent API. Looking over the code base right now, it seems pretty organic, with a variety of all 3 of the approaches I mentioned being taken. Thoughts? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from: Norman Oklahom

Re: [matplotlib-devel] Rasterized artists have wrong transform

2009-04-23 Thread Ryan May
It's > not a very complicated modification. I think part of the problem with decorators before was that they came around in 2.4. I think we only support >=2.4 now, so this is no longer an issue. IMO, decorators seem like a sensible way to go. Ryan -- Ryan May Graduate Research

Re: [matplotlib-devel] python-2.6 compatible matplotlib

2009-04-24 Thread Ryan May
here isn't some weird subprocess incompatibility. (tex_demo.py exercises this code.) I also fixed the use of os.popen in cbook.report_memory(). Again, it works for me here, but I'd love for others to check. There is no code for windows with this one, but there is code for Macs. Ryan --

Re: [matplotlib-devel] time series zoom/pan speedup

2009-05-15 Thread Ryan May
. > > To see what the behavior is like without the changes, just reverse the > sign of x, since at present only monotonically increasing x is supported: > > plot(-x, y) > xlim(-20,-10) > > Notice that in the latter case, panning and zooming is jerky. > Works great for

Re: [matplotlib-devel] attempting to enable buildbot

2009-05-20 Thread Ryan May
domain > name, too -- that may be desirable for marketing reasons. I'll see if I can get the buildbot running on my gentoo AMD64 box. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States ---

[matplotlib-devel] Tests and matplotlibrc

2009-05-20 Thread Ryan May
like having to edit my matplotlibrc every time I want to run the test suite. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States -- Cr

Re: [matplotlib-devel] Units issue

2009-05-20 Thread Ryan May
soon. That's not to say that it's not currently functional, I just believe that some ufuncs don't work properly and that there are some corner cases that don't work, which I think is why Darren hasn't made an official release/announcement. Last time I played with it ho

Re: [matplotlib-devel] Units issue

2009-05-20 Thread Ryan May
On Wed, May 20, 2009 at 11:38 AM, Ryan May wrote: > Hi, > > In looking over a test failure, I'm seeing some behavior that doesn't make > sense to me. It looks like data passed to a line object is being improperly > converted when units are involved. Here's a v

Re: [matplotlib-devel] Tests and matplotlibrc

2009-05-20 Thread Ryan May
On Wed, May 20, 2009 at 10:20 AM, John Hunter wrote: > On Wed, May 20, 2009 at 10:12 AM, Ryan May wrote: > > Hi, > > > > Is there any way to make the tests force a certain default set of > rcparams? > > When I first ran the test suite just now, I got a lot of

Re: [matplotlib-devel] Units issue

2009-05-20 Thread Ryan May
On Wed, May 20, 2009 at 11:54 AM, Christopher Barker wrote: > Ryan May wrote: > > use the units in basic_units.py (in the examples/units directory). > > This looks like pretty cool stuff. However, I can't seem to find > matplotlib.units or basic_units.py in the online

[matplotlib-devel] Units issue

2009-05-20 Thread Ryan May
on the original test, it seems like this behavior should work (just rescale the x-axis without actually changing the plot). Am I missing something, or is this a real bug? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent f

Re: [matplotlib-devel] Tests and matplotlibrc

2009-05-20 Thread Ryan May
he tests, this way we are always testing > against the defaults. If the defaults ever change it would also > > allow us to more easily catch those changes to note if there is any > negative consequences of the change. > > > OK, Ryan, go ahead with this. > Done. Ryan -- R

Re: [matplotlib-devel] mplot3d update

2009-06-15 Thread Ryan May
On Sun, Jun 14, 2009 at 7:13 PM, Gökhan SEVER wrote: > > Could you tell me how to import axes3d module from within Ipython? > from mpl_toolkits.mplot3d import axes3d Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of

Re: [matplotlib-devel] please add this example: legend translucent

2009-07-21 Thread Ryan May
es), there's nothing to be changed. It will be automatically included. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- ___ M

Re: [matplotlib-devel] curvelinear coordinate support in axes_grid and a possible refactoring of mpl.

2009-08-01 Thread Ryan May
. http://p.sf.net/sfu/bobj-july > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Ryan May Graduate Research Assistant School of Meteorology

Re: [matplotlib-devel] example data in example code

2009-08-05 Thread Ryan May
ehandle >raise ValueError('fname must be a string or file handle') > ValueError: fname must be a string or file handle > > Perhaps we could return a plain file handle pointing to the cached data? Another option is to use StringIO to create a new file-like object afte

Re: [matplotlib-devel] colorbar_doc is visible as a function name with Ipython --pylab import

2009-08-06 Thread Ryan May
ch. Fixed in 7406. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, OK, United States -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day tr

Re: [matplotlib-devel] colorbar_doc is visible as a function name with Ipython --pylab import

2009-08-06 Thread Ryan May
On Thu, Aug 6, 2009 at 1:55 PM, John Hunter wrote: > On Thu, Aug 6, 2009 at 1:50 PM, Ryan May wrote: > > > > On Thu, Aug 6, 2009 at 1:38 PM, Gökhan Sever > wrote: > >> > >> Shouldn't colorbar_doc name be hidden from users? It doesn't look like &

Re: [matplotlib-devel] colorbar_doc is visible as a function name with Ipython --pylab import

2009-08-06 Thread Ryan May
On Thu, Aug 6, 2009 at 2:03 PM, John Hunter wrote: > On Thu, Aug 6, 2009 at 1:59 PM, Ryan May wrote: > > On Thu, Aug 6, 2009 at 1:55 PM, John Hunter wrote: > >> > >> On Thu, Aug 6, 2009 at 1:50 PM, Ryan May wrote: > >> > > >> > On Thu,

Re: [matplotlib-devel] SF.net SVN: matplotlib:[7506] branches/v0_99_maint/lib/matplotlib/lines.py

2009-08-19 Thread Ryan May
duplicated when set_data() was called. According to the code, np.asarray() will be called if ma.isMaskedArray() returns false. Am I missing something? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma

Re: [matplotlib-devel] Merge tracking of v0_99_maint broken?

2009-08-22 Thread Ryan May
nches/v0_98_5_maint > > I'm pretty sure that this used to work. What has changed in the repository? Same behavior here. I had been having trouble doing any merges, but never had tracked it down. I guess this is related. Ryan -- Ryan May Graduate Research Assistant School of Met

Re: [matplotlib-devel] Merge tracking of v0_99_maint broken?

2009-08-24 Thread Ryan May
> /branches/v0_99_maint > /branches/mathtex > /branches/v0_98_5_maint > > > John Hunter wrote: > >> On Sat, Aug 22, 2009 at 3:24 AM, Ryan May wrote: >> >> >> >>> Same behavior here. I had been having trouble doing any merges, but neve

Re: [matplotlib-devel] Merge tracking of v0_99_maint broken?

2009-08-31 Thread Ryan May
On Sat, Aug 22, 2009 at 3:24 AM, Ryan May wrote: > > > On Sat, Aug 22, 2009 at 3:01 AM, Jouni K. Seppänen wrote: > >> I fixed some doc typos on the v0_99_maint branch and was going to merge >> the fixes to the trunk, but it didn't work: >> >> % svn

Re: [matplotlib-devel] proposed change to colors.py

2009-09-30 Thread Ryan May
le/p25691605/colors.py > colors.py svn diff > filename Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the o

[matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-14 Thread Ryan May
mentioned elsewhere in the page and in fact have no link from the image. They're also not present in the __all__ in the dates module. If this is just an oversight, what do I need to do to make the classes show up in the docs? Ryan -- Ryan May Graduate Research Assistant School of Meteor

Re: [matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-14 Thread Ryan May
ion makes sense to you. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need t

Re: [matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-16 Thread Ryan May
nearly so), but this breaks compatibility (where tz was the only argument). Also, to me, it would be nice to tick multiples of the interval by default. Thoughts? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States

Re: [matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-16 Thread Ryan May
tests passing. I've also pretty much expended all the time I have for matplotlib development in the short term. So if one of the other devs is interested, awesome. But for me at this point, I can't go study yet more code when I have something IMO ready to check in. Ryan --

Re: [matplotlib-devel] Persistent Matplotlib Figures

2009-12-17 Thread Ryan May
pt can just read in the file and do the plotting. This is exactly how my workflow is set up. I'd be happy to address any concerns you see with doing things this way. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [matplotlib-devel] Persistent Matplotlib Figures

2009-12-19 Thread Ryan May
plexity.  We have enough of that already.  We need to > think about how to clean up mpl and make it easier to maintain and > improve, not clutter it with ever more complexity. +1 That pretty much sums up how I feel. Ryan -- Ryan May Graduate Research Assistant School of Meteorology Univ

[matplotlib-devel] zorder for contours

2010-01-28 Thread Ryan May
willing to change ContourSet to pop arguments off of **kwargs so that it can see if some aren't used and throw an exception if not all are used. On the other hand, this could break existing code that are passing extra/useless kwargs, so maybe a warning would be better? Ryan -- Ryan M

Re: [matplotlib-devel] zorder for contours

2010-01-28 Thread Ryan May
On Thu, Jan 28, 2010 at 1:03 PM, Eric Firing wrote: > Ryan May wrote: >> Unless I completely misunderstand zorder, the contour should be *on >> top* of the rectangle.  Also note that printing the zorder for the >> contour's collection (a LineCollection object) gives a

Re: [matplotlib-devel] registerable backend and minor refactoring of backend-ps

2010-02-03 Thread Ryan May
> will be welcomed. > > Also committed is a some refactoring of ps backend but the change > should be quite transparent. I like it. Out of curiosity, is there anything that this approach brings (other than simplicity)

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread Ryan May
erwhelmingly +1 on having such functionality available. Are you looking at making it possible to construct a triangulation from the delaunay triangulation that is used by griddata? (Sorry, I didn't follow the thread that closely.) Ryan -- Ryan May Graduate Research Assistant School of

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-18 Thread Ryan May
gt; use case.  I suggest providing a kwarg, e.g. "squeeze=True" as the > default, to eliminate zero-size-dimensions from the array, and False for > the case where nrows and/or ncols could be zero but one wants to be able > to iterate over the resulting

[matplotlib-devel] gtk.Tooltips() deprecated

2010-03-20 Thread Ryan May
to be an easy way to support both)? Or do we just bump our required version? 2.12.0 was released in fall 2007. I'm not sure what versions are supplied with the various distros. Thoughts? Ryan -- Ryan May Graduate Research Assistant School of Meteorology Universit

Re: [matplotlib-devel] gtk.Tooltips() deprecated

2010-03-20 Thread Ryan May
On Sat, Mar 20, 2010 at 5:53 PM, Eric Firing wrote: > Ryan May wrote: >> >> Hi, >> >> I just started running PyGTK 2.16 and noticed the following everytime >> I run a matplotlib script: >> >> >> /home/rmay/.local/lib/python2.6/s

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-21 Thread Ryan May
and above, we could add the needed methods to the Axes object, which would just be ignored by python <2.5. That's not a bad idea. I'm +1 on the idea. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

[matplotlib-devel] Problem with Quiver+Basemap

2010-03-26 Thread Ryan May
ensure we are always making small shifts in X, Y. I managed to fix the problem locally by setting: angles, lengths = self._angles_lengths(U, V, eps=0.0001 * self.XY.max()) but I'm not sure if you would want a different fix. If you're happy with this fix, I'll go ahead

Re: [matplotlib-devel] Problem with Quiver+Basemap

2010-04-01 Thread Ryan May
Ping. Not sure if you missed it first time around or are just that busy. Ryan On Fri, Mar 26, 2010 at 12:13 PM, Ryan May wrote: > Eric, > > I just hit a problem with using quiver with Basemap when when > angles='xy'.  Because Basemap's x,y units are in meters, you en

[matplotlib-devel] Animation Class

2010-04-01 Thread Ryan May
e necessary to just to a straightforward Animation subclass. The code still needs quite a bit of clean up and thought to make sure that the classes are broken up into the proper parts, as well as documentation, but I wanted to see if this seems like a good way to go to add easy animation support to

Re: [matplotlib-devel] Problem with Quiver+Basemap

2010-04-02 Thread Ryan May
On Fri, Apr 2, 2010 at 1:23 AM, Eric Firing wrote: >> On Fri, Mar 26, 2010 at 12:13 PM, Ryan May wrote: >>> I just hit a problem with using quiver with Basemap when when >>> angles='xy'.  Because Basemap's x,y units are in meters, you end up >>>

Re: [matplotlib-devel] Problem with Quiver+Basemap

2010-04-02 Thread Ryan May
On Fri, Apr 2, 2010 at 11:42 AM, Eric Firing wrote: > Ryan May wrote: >> >> On Fri, Apr 2, 2010 at 1:23 AM, Eric Firing wrote: >>>> >>>> On Fri, Mar 26, 2010 at 12:13 PM, Ryan May wrote: >>>>> >>>>> I just hit a problem

Re: [matplotlib-devel] getting legend loc

2010-04-09 Thread Ryan May
a helper for self.set_aspect('equal', adjustable='box', anchor='C') self.set_autoscale_on(False) You can get all of these properties individually: ax = plt.gca() ax.get_aspect() ax.get_adjustable() ax.get_anc

[matplotlib-devel] Close events

2010-04-15 Thread Ryan May
Hi, Does anyone know if there's a matplotlib event that fires when a figure window is closed? I can't seem to find one. If there's not one, any I shouldn't add one? I need to stop my animation timers when the figure is closed. Ryan -- Ryan May Graduate Research Assistant S

Re: [matplotlib-devel] Close events

2010-04-16 Thread Ryan May
that calls the FigureCanvasBase.close_event(). Ryan On Thu, Apr 15, 2010 at 5:18 PM, Ryan May wrote: > Hi, > > Does anyone know if there's a matplotlib event that fires when a > figure window is closed? I can't seem to find one. > > If there's not one, any I shoul

Re: [matplotlib-devel] margins, locator_params, formatter offset

2010-04-20 Thread Ryan May
ed off, for example. No comments other than these seem like really good changes to reduce the barrier for the users. Nice work! Ryan -- Ryan May Graduate Research Assistant Schoo

[matplotlib-devel] New generic timers

2010-04-20 Thread Ryan May
ion's that I promise to write once the new framework is checked in. Also, I didn't add a TimerBase implementation for the CocoaAgg backend. I have no idea about that toolkit, so I'd appreciate some help there so we can have an implementation for all of the active GUI toolkits. Any fe

Re: [matplotlib-devel] New generic timers

2010-04-20 Thread Ryan May
On Tue, Apr 20, 2010 at 4:02 PM, John Hunter wrote: > On Tue, Apr 20, 2010 at 3:26 PM, Ryan May wrote: >> Hi, >> >> Continuing the spurt of (independent) development that's been going on >> lately, I committed support for generic timers. There's a base class

Re: [matplotlib-devel] imsave, image size

2010-05-06 Thread Ryan May
.54) -> dots/inch * cm/m * inch/cm -> dots/m Am I missing something? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- ___

Re: [matplotlib-devel] axes.set_xlim has wrong keyword documentation

2010-05-28 Thread Ryan May
just a copy-paste error. Surely. Fixed in SVN, thanks for the report. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- ___ Matplotlib-

[matplotlib-devel] QuadMesh zorder

2010-05-28 Thread Ryan May
Anyone know if there's an explicit design choice for QuadMesh not taking kwargs, or is it just an omission? Ryan -- Ryan May Graduate Research Assistant School of Meteorology Un

Re: [matplotlib-devel] Bug rasterized image in pcolor and pcolormesh

2010-06-01 Thread Ryan May
l array in file. It's possible that there are slight differences that you can't really see that produce different arrays, but that won't cause a factor of 8 difference in size. My guess is that pcolormesh isn't rasterizing properly. Ryan -- Ryan May Graduate Research Ass

  1   2   3   >