Re: [matplotlib-devel] [Python-modules-team] Bug#585442: python-matplotlib: crashes when calling axis() after imshow()

2010-06-21 Thread Ryan May
thon-modules-team mailing list >> python-modules-t...@lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/python-modules-team >> > > > > -- > Sandro Tosi (aka morph, morpheus, matrixhasu) > My website: http://matrixhasu.altervista.org/ > Me a

[matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-02 Thread Ryan May
ing effect. Anybody have a clue? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma #!/usr/bin/env python # Reveals a bug in blitting with multiple subplots caused by the use of # markers import time import gtk, gobject import matplotlib matplotlib.use(&#x

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-02 Thread Ryan May
ious state somewhere?). I'll look into this tomorrow, but it would probably be a lot easier with someone familiar with the code. Ryan On Sat, Jul 3, 2010 at 12:33 AM, Ryan May wrote: > Hi, > > I've been debugging this for hours now and could really use the help > of someon

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-03 Thread Ryan May
On Sat, Jul 3, 2010 at 1:11 AM, Ryan May wrote: > Alright, before I go to bed, I found the following line in > src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the > difference: > > set_clipbox(gc.cliprect, rendererBase); > > Commenting out this line fixes my

Re: [matplotlib-devel] Adding more image format support...

2010-07-06 Thread Ryan May
k to manage the supported > file types should make this pretty easy. > > While adding a hard dependency on PIL is probably not a good idea, are > there any objections to making it a soft dependency? None here, especially when the alternative is writing our own bindings to the jpeg li

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-06 Thread Ryan May
On Tue, Jul 6, 2010 at 10:19 AM, Michael Droettboom wrote: > On 07/04/2010 09:32 PM, John Hunter wrote: >> On Sat, Jul 3, 2010 at 11:53 AM, Ryan May  wrote: >> >>> On Sat, Jul 3, 2010 at 1:11 AM, Ryan May  wrote: >>> >>>> Alright, before I go t

Re: [matplotlib-devel] nasty import behavior

2010-07-08 Thread Ryan May
tlib.pyplot as plt not move the import and complain about matplotlib's import behavior. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- This SF.net email is sponsored by Spri

[matplotlib-devel] ContourSet not an Artist?

2010-07-09 Thread Ryan May
t the ramifications would be. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone?

[matplotlib-devel] New Animation Class

2010-07-09 Thread Ryan May
f doing animations in matplotlib. This seems to be an area of frequent question on the mailing list, and I want this framework to lessen the questions, not increase them. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma # TODO: # * Documentation -- this will

Re: [matplotlib-devel] New Animation Class

2010-07-09 Thread Ryan May
On Fri, Jul 9, 2010 at 5:22 PM, Ryan May wrote: > Hi, > > I've been "hard" at work over the last couple of months putting > together a set of classes that simplifies the creation of animations > in matplotlib. This started when I resurrected some old code for >

Re: [matplotlib-devel] ContourSet not an Artist?

2010-07-09 Thread Ryan May
On Jul 9, 2010, at 22:11, John Hunter wrote: > On Fri, Jul 9, 2010 at 9:59 PM, Eric Firing wrote: >> On 07/09/2010 11:45 AM, Ryan May wrote: >>> Hi, >>> >>> I just noticed that ContourSet only inherits ScalarMappable and >>> ContourLabeller, neithe

Re: [matplotlib-devel] Fwd: [Numpy-discussion] ANN: Numpy runs on Python 3

2010-07-10 Thread Ryan May
--- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > Matplotlib-devel mai

Re: [matplotlib-devel] Fwd: [Numpy-discussion] ANN: Numpy runs on Python 3

2010-07-10 Thread Ryan May
On Sat, Jul 10, 2010 at 4:18 PM, John Hunter wrote: > On Sat, Jul 10, 2010 at 4:13 PM, Ryan May wrote: >> both, specifically check_for_tk(). Here we catch the actual exception >> object and use it to print an error message. If anyone has a >> suggestion (not print t

Re: [matplotlib-devel] New Animation Class

2010-07-10 Thread Ryan May
ollow.  You can add a README in that dir suggesting > the use of the new API unless necessary. Define "bare metal." Since we have the new timer class, I could convert the old examples to be backend agnostic without using the animation framework. Just a thought. Thanks for the useful fe

Re: [matplotlib-devel] Fwd: [Numpy-discussion] ANN: Numpy runs on Python 3

2010-07-10 Thread Ryan May
On Sat, Jul 10, 2010 at 9:49 PM, John Hunter wrote: > On Sat, Jul 10, 2010 at 9:38 PM, Ryan May wrote: >> 2.6.  With Python 3.1, I get a compile failure with src/ft2font.cpp, >> which isn't surprising. > > I'm a little surprised ft2font is failing, since it is

Re: [matplotlib-devel] rendering problem in mplot3d

2010-07-19 Thread Ryan May
uld break > that use pattern. I think the fact that add_axes will just blindly add a duplicate axes is a bug. So why not have add_axes do something like the following: if ax not in axes_list: axes_list.append(ax) Anyone see anything wrong with this approach? Ryan -- Ryan May Graduate

Re: [matplotlib-devel] question about svnmerge

2010-07-20 Thread Ryan May
to what the NumPy folk are doing, but I can say that moving the trunk of one of my small subversion projects over to git was as easy as: 0) Create authors.txt to map svn committers to git committers 1) Checkout svn trunk using git-svn (which results in a git repo) 2) Push to github I was really surpri

Re: [matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Ryan May
1054,1055 > <         ticks = self.get_major_ticks() > --- >>         if minor: ticks = self.get_minor_ticks() >>         else:     ticks = self.get_major_ticks() Thanks for the contribution. Can you regenerate using: diff -u so we can easily apply to the tree? Thanks, Ryan --

Re: [matplotlib-devel] New Animation Class

2010-08-25 Thread Ryan May
On Fri, Jul 9, 2010 at 7:27 PM, John Hunter wrote: > On Fri, Jul 9, 2010 at 5:22 PM, Ryan May wrote: > >> I've been "hard" at work over the last couple of months putting >> together a set of classes that simplifies the creation of animations >> in matplotli

Re: [matplotlib-devel] Issue with Ellipses and PatchCollections

2010-08-27 Thread Ryan May
ms that the last change to that line was done by you (based on a bug *I* reported)? It apparently worked then: http://sourceforge.net/mailarchive/message.php?msg_name=487A5AE3.5070500%40gmail.com Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [matplotlib-devel] Issue with Ellipses and PatchCollections

2010-09-01 Thread Ryan May
nges, with a comment in patches.py as to why fill is a property. > > I was wondering whether it would be possible at least for now to implement > the get_fill() fix in PatchCollection? One of the packages I develop > (http://aplpy.sourceforge.net/) depends on match_original, and recent s

Re: [matplotlib-devel] clf(), Axes3D and add_subplot

2010-09-02 Thread Ryan May
On Sep 2, 2010, at 14:14, Benjamin Root wrote: > There was a bug report recently (not to the mailing list) where the reporter > noted that if an Axes3D was created using the fig.add_subplot(111, > projection='3d') or fig.gca(projection='3d'), then you can not clear the > figure using fig.clf()

Re: [matplotlib-devel] clf(), Axes3D and add_subplot

2010-09-02 Thread Ryan May
self._axstack/self._seen, it would seem that appending to this list would not by itself work. I'm willing to cook up the patch tomorrow if no one beats me to it. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

Re: [matplotlib-devel] Patch for matplotlib.__init__ for speedup

2010-09-20 Thread Ryan May
e > profiling results (not only regarding this piece of code), please let me > know! First glance looks alright to me, though I haven't looked in heavy detail. I will defer, however, to those much more familiar with this code. Thanks for the patch, Ryan -- Ryan May G

Re: [matplotlib-devel] Patch for matplotlib.__init__ for speedup

2010-09-21 Thread Ryan May
ople more familiar with the code to do a more, ahem, thorough review. Still, I wonder if there's a better way to maintain the runtime boost without needing a __getitem__... Need coffee for that. Ryan -- Ryan May Graduate Researc

Re: [matplotlib-devel] Event handling broken in svn?

2010-10-01 Thread Ryan May
o see where do disconnect). What you're seeing in your script is that since you're not assigning the Handler object to anything, it's being garbage collected. It works for me if I change the second to last line to: h = Handler(f) Ryan -- Ryan May Graduate Research

Re: [matplotlib-devel] Blitting for animations

2010-10-18 Thread Ryan May
of those things. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (former

Re: [matplotlib-devel] intermittent 'numpy.bool_' object has no attribute '_mask' bug

2010-10-22 Thread Ryan May
has no attribute '_mask' > > > Strangely the bug seems to be intermittent, i.e. rebooting seems to > temporarily fix the issue, but it always returns. > Is this a known issue? Could I somehow fix this by reverti

Re: [matplotlib-devel] how to submit a patch?

2010-10-23 Thread Ryan May
but I don't know how > to submit a patch.  Could someone please show me? Good catch. I can make the change if you want. However, if you want to use as a learning experience, first make a copy of the original file, say figure.py.orig. Then make the changes to your figure.py. Then you n

Re: [matplotlib-devel] Thoughts about callbacks

2010-10-24 Thread Ryan May
. Also, there are only global signals, you can't connect to a specific object (unless you were planning on each object having its own registry?). When I was considering this yesterday, I was looking at these: http://code.activestate.com/recipes/87056/ http://pydispatcher.sourceforge.net/ Also

Re: [matplotlib-devel] Blitting for animations

2010-10-24 Thread Ryan May
[Putting this back on list after I mistakenly took it off.] On Fri, Oct 22, 2010 at 11:45 PM, Michiel de Hoon wrote: > Hi Ryan, > > Thanks for your reply. > > --- On Mon, 10/18/10, Ryan May wrote: >> In the course of adding the animations, I also >> added a "cl

Re: [matplotlib-devel] gtkagg w/o extension code

2010-11-10 Thread Ryan May
hs before I can get back to that level of developing though.) So I wouldn't be surprised if you revealed I'm doing something wrong in this case. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -

Re: [matplotlib-devel] github devel question

2011-02-25 Thread Ryan May
don't think we should close our own pull requests. It > short-circuits the review process. Agreed in principle. However, do we as devs want to get/give reviews on every change that fixes typos in the docs or fixes stupid bugs in examples? I think there's a point of diminishing return

Re: [matplotlib-devel] github devel question

2011-02-25 Thread Ryan May
On Fri, Feb 25, 2011 at 1:48 PM, Darren Dale wrote: > On Fri, Feb 25, 2011 at 2:43 PM, Ryan May wrote: >> On Fri, Feb 25, 2011 at 1:11 PM, Darren Dale wrote: >>> On Fri, Feb 25, 2011 at 1:45 PM, Benjamin Root wrote: >>>> Ok, I am still learning quite a bit

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Ryan May
ib/tree/master/examples/animation >>> >>> If you are running a released mpl, you can simply drop the >>> animation.py file into your PYTHONPATH and use it directly >>> >>> >>>  https://github.com/matplotlib/matplotlib/blob/master/lib/matplotli

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Ryan May
new timer. fig = gcf() timer = fig.canvas.new_timer(interval=50) timer.add_callback(update_line, line) timer.start() show() Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- Fr

Re: [matplotlib-devel] v1.0.x branch seems confused

2011-06-03 Thread Ryan May
work more on it. (FINALLY.) The only reason I even checked it in originally was so that others could play, but I was (and still am) not ready to commit completely to the API. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ---

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Ryan May
l be happy to change my code; numerical stuff in numpy, plotting > stuff in pylab (or pyplot?), though some things like linspace() may be hard > to loose; that's really an mlab function and I can import mlab. It probably > makes more sense. I'm not sure if linspace was just

[matplotlib-devel] Circle Markers + vector graphics

2007-11-14 Thread Ryan May
utput. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log event

[matplotlib-devel] mlab functions

2008-01-31 Thread Ryan May
Hi, I was wondering if anyone had thought about finding homes for some of the functions in mlab that are useful outside of matplotlib? I'm specifically thinking of psd, which has no equivalent (to my knowledge) in numpy/scipy. Thanks, Ryan -- Ryan May Graduate Research Assistant Scho

[matplotlib-devel] pcolor curiosity

2008-03-13 Thread Ryan May
L to render in one pass. Thanks Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. ht

Re: [matplotlib-devel] pcolor curiosity

2008-03-14 Thread Ryan May
ther backends that aren't in the gtk, like draw_quad_mesh and draw_rectangle. Is there a definitive list somewhere? I tried RendererBase in backend_bases, but it did not have draw_rectangle. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Ryan May
. compile) need to install the headers. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Stu

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-21 Thread Ryan May
you build matplotlib from the source tarball, a Gentoo port (or > whatever they're called), or some other way? Just as a an FYI, on my Gentoo box here, with matplotlib 0.91.2 installed from Portage, I have: /usr/lib/python2.5/site-packages/matplotlib/backends/_tkagg.so And I don

[matplotlib-devel] Adding Backends

2008-06-07 Thread Ryan May
Hi, Is there any reason that adding a backend requires modifying both rcsetup.py and the __init__.py in the backends subdirectory? Couldn't rcsetup.py fetch the list from the __init__.py (or vice-versa)? Thanks, Ryan -- Ryan May Graduate Research Assistant School of Meteorology Unive

Re: [matplotlib-devel] Adding Backends

2008-06-07 Thread Ryan May
kicking around for awhile now, based (right now) on Gtk. gtkglext (which has python bindings) will let you render to a pixmap, so that should make it easy to integrate into the current matplotlib way of doing things. If things go well, I should have more on this after awhile. Ryan --

[matplotlib-devel] Skew-T

2008-06-11 Thread Ryan May
at can handle the 45 degree skew of the temperature? Thanks, Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net Marketplace. It's the best plac

[matplotlib-devel] Skew-T

2008-06-12 Thread Ryan May
e for me to create a transform that can handle the 45 degree skew of the temperature? Thanks, Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net M

[matplotlib-devel] test

2008-06-12 Thread Ryan May
Test. Ignore. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about any

[matplotlib-devel] test

2008-06-12 Thread Ryan May
Test. Ignore. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about any

[matplotlib-devel] Test

2008-06-12 Thread Ryan May
Test. Please disregard. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just

Re: [matplotlib-devel] Test

2008-06-13 Thread Ryan May
David Moore wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ryan May wrote: >> Test. Please disregard. >> >> Ryan >> >> -- >> Ryan May >> Graduate Research Assistant >> School of Meteorology >> University of Oklaho

Re: [matplotlib-devel] Skew-T

2008-06-13 Thread Ryan May
Jeff Whitaker wrote: > Ryan May wrote: >> (Sorry if this is a duplicate) >> >> Hi, >> >> I'm trying to make a Skew-T LogP plot, an important plot in >> meteorology, using matplotlib (mainly to help convert people away from >> much more ho

Re: [matplotlib-devel] Skew-T

2008-06-13 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: > >> Thanks. I also managed to find a matlab implementation, which was >> straightforward to port over. I'm working on fleshing out the full >> Skew-T look right now. As far as using the transforms, here's the >

Re: [matplotlib-devel] Skew-T

2008-06-14 Thread Ryan May
John Hunter wrote: > On Fri, Jun 13, 2008 at 3:28 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >>> Ryan: I'm sure you could do it, and it would be a nice contribution to >>> the community. There's some IDL code here > >> Thanks. I also m

[matplotlib-devel] Bug in scale.py

2008-06-27 Thread Ryan May
): 134 return ma.power(np.e, a) / np.e 135 136 def inverted(self): 137 return LogScale.Log2Transform() Shouldn't line 137 instead read: return LogScale.NaturalLogTransform() Ryan -- Ryan May Graduate Research Assistant School of Meteor

[matplotlib-devel] Bug in PatchCollection

2008-07-13 Thread Ryan May
patch.fill is a boolean attribute, not a function. (Or at least it is for polygons and circles.) You only hit this if you override the default and specify match_original=True. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma

[matplotlib-devel] Useless line in collections.py

2008-07-13 Thread Ryan May
e(kwargs) This is in __init__ for Collection, which ends with the code I've pasted here. It doesn't appear that Affine2D is used and is probably left over cruft. Ryan -- Ryan May Graduate Research Assistant School of Meteorology Univ

[matplotlib-devel] (Wind) Barbs

2008-07-15 Thread Ryan May
I welcome any comments/criticism to help improve this. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ''' Support for plotting a field of (wind) barbs. This is like quiver in that you have something that points along a vector field gi

[matplotlib-devel] Alpha Weirdness on Windows

2008-07-17 Thread Ryan May
ave solid-colored polygons. I was unable just now to replicate this on linux. Not a huge deal for me at all (as a linux guy), but I thought I'd give the heads up. I might be able to investigate a little further if there's any interest. Ryan -- Ryan May Graduate Research Assist

Re: [matplotlib-devel] (Wind) Barbs

2008-07-17 Thread Ryan May
John Hunter wrote: > On Tue, Jul 15, 2008 at 5:37 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> I welcome any comments/criticism to help improve this. > > Hey Ryan, > > I have looked at this code briefly and have a few minor comments. I > think Eric, who d

Re: [matplotlib-devel] (Wind) Barbs

2008-07-17 Thread Ryan May
Jeff Whitaker wrote: > Ryan May wrote: >> Hi, >> >> I've got (what seems to me) a nice clean, self-contained >> implementation of wind barbs plots. I'd like to see if I can get this >> into matplotlib, as it would be very useful to the meteorology

Re: [matplotlib-devel] Alpha Weirdness on Windows

2008-07-18 Thread Ryan May
John Hunter wrote: > On Thu, Jul 17, 2008 at 10:35 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Has anyone ever noticed weirdness with translucent polygons on win32 >> (using GTKAgg)? I had the occasion to actually do something on windows >> and n

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-18 Thread Ryan May
. (Let's hope I haven't jinxed myself here.) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's

[matplotlib-devel] Masked arrays in Quiver/Windbarbs

2008-07-19 Thread Ryan May
nothing is drawn for a location X,Y where U,V are masked, this would seemingly lead to a problem where the locations and the things to be drawn get out of phase. Am I missing something here? Eric, did I miss some magic somewhere in quiver that handles this? Ryan -- Ryan May Graduate Research

[matplotlib-devel] Empty wind barb suggestion

2008-07-19 Thread Ryan May
used to hack around it. Thoughts, Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the co

Re: [matplotlib-devel] Progress on interactive backend detection

2008-07-19 Thread Ryan May
he default backend is known to be incompatible. Eg, if the > default backend is PS, nothing will happen. > > I think the proposed changes are reasonable. > +1 Ryan -- Ryan May Graduate Research Assistant

[matplotlib-devel] Collections set/get_offsets method

2008-07-19 Thread Ryan May
fsets, but that proved to be too much of a hassle for too little code reuse. Comments? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --- collections.py (revision 5792) +++ collections.py (working copy) @@ -222,6 +222,32 @@ def set_pickradius

Re: [matplotlib-devel] Masked arrays in Quiver/Windbarbs

2008-07-19 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Hi, >> >> In looking over trying to support masked arrays in wind barbs, I noticed >> a problem. I had originally copied the model of quiver, wherein masked >> arrays are supported for U,V, and color, but not for X,Y.

Re: [matplotlib-devel] [Matplotlib-users] Can I update symbol positions and colors in a collection?

2008-07-19 Thread Ryan May
John Hunter wrote: On Thu, Jul 17, 2008 at 10:28 PM, Ryan May <[EMAIL PROTECTED]> wrote: I helped Eric out with this offline, and obviously set_array is for the colors, but the only solution we could come up with was to directly reset the PolyCollection._offsets member. This seems a

Re: [matplotlib-devel] Masked arrays in Quiver/Windbarbs

2008-07-19 Thread Ryan May
e of it. What I've tried to do is keep copies of the original data passed in, and when updating UV or offsets, use delete_masked_points to keep them lined up as appropriate. Does this sound reasonable? It doesn't look too bad, and still keeps an interface that allows upda

[matplotlib-devel] Circular import

2008-07-19 Thread Ryan May
g I'm missing here? Or can I move delete_masked_points to a better location? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin

Re: [matplotlib-devel] Circular import

2008-07-19 Thread Ryan May
John Hunter wrote: On Sat, Jul 19, 2008 at 8:58 PM, Ryan May <[EMAIL PROTECTED]> wrote: Hi, In integrating my barbs work, I'm having trouble that causes a circular import. I used delete_masked_points from axes. The problem here is that axes imports quiver (where I put barbs) which

Re: [matplotlib-devel] Circular import

2008-07-19 Thread Ryan May
John Hunter wrote: On Sat, Jul 19, 2008 at 8:58 PM, Ryan May <[EMAIL PROTECTED]> wrote: Hi, In integrating my barbs work, I'm having trouble that causes a circular import. I used delete_masked_points from axes. The problem here is that axes imports quiver (where I put barbs) which

Re: [matplotlib-devel] Circular import

2008-07-19 Thread Ryan May
John Hunter wrote: > On Sat, Jul 19, 2008 at 9:30 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> Take this one instead. I missed some imports on the last one (oops). > > Hey Ryan -- the code you have been contributing is certainly high > quality, and I am happy to give you c

[matplotlib-devel] offset_copy()

2008-07-20 Thread Ryan May
? More importantly, can I do it without knowing the dpi? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's chal

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-20 Thread Ryan May
John Hunter wrote: > On Sat, Jul 19, 2008 at 11:09 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> The only issue I've seen is that scaling with PS is way too big. I've >> attached ps and pdf files from the same run to show the problem. > > The only thing

Re: [matplotlib-devel] Collections set/get_offsets method

2008-07-21 Thread Ryan May
Eric Firing wrote: > Eric Firing wrote: >> Ryan May wrote: >>> Hi, >>> >>> As promised, here's a short patch to add get_offsets() and >>> set_offsets() to the Collections() base class. I tried to make it do >>> the right thing with

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-21 Thread Ryan May
Michael Droettboom wrote: > Ryan May wrote: >> 5) I added an empty circle marker for low wind speeds (vector >> magnitudes). Accomplishing having the unfilled circle while having >> the barbs filled involved a bit of a "elegant hack". Using the set of >>

[matplotlib-devel] TextCollection

2008-07-21 Thread Ryan May
some purpose to the users at large. Thoughts? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Bui

Re: [matplotlib-devel] TextCollection

2008-07-22 Thread Ryan May
John Hunter wrote: > On Mon, Jul 21, 2008 at 11:35 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Has anyone ever thought about creating a TextCollection class? The >> purpose would be similar to the other collections, to group a bunch of >> text

[matplotlib-devel] Scale independent drawing

2008-07-22 Thread Ryan May
don't know about. Any thoughts, or do I just need to come up with some magical combination of transforms that works? You can see what I have so far in my attached file. Thanks in advance, Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma from matpl

Re: [matplotlib-devel] Scale independent drawing

2008-07-22 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Hi, >> >> I'll continue my current flood of emails to the list. :) I'm finally >> getting back to my work on Skew-T plots, and I have a semi-working >> implementation (attached.) It runs, and as is, plots up

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-22 Thread Ryan May
xpected. I just wanted to make sure I wasn't missing anything. I've already got two separate checkouts at the moment, so I think I'll try to just keep them up to date and keep one pristine for small stuff and testing. I'll keep rsync in mind however when I need a fresh one, than

[matplotlib-devel] Wind Barbs

2008-07-22 Thread Ryan May
ed to Basemap? If so, will you handle it or should it? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [matplotlib-devel] Wind Barbs

2008-07-23 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Ok, >> >> I've committed my wind barbs stuff in SVN. Anyone interested, go >> ahead an hammer on it. > > Very nice! > > Comments on the example, barb_demo.py: > > 1) In your third panel, you put the args

Re: [matplotlib-devel] clabel improvements

2008-07-23 Thread Ryan May
and we have a > chance to test this for a couple of days. > +1 Are we going to try to get anything out after that for scipy, or is this it? I realize with Friday we're targeting Debian. Ryan -- Ryan May Graduate

Re: [matplotlib-devel] Wind Barbs

2008-07-23 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Ok, >> >> I've committed my wind barbs stuff in SVN. Anyone interested, go >> ahead an hammer on it. > > Very nice! > > Comments on the example, barb_demo.py: > > 1) In your third panel, you put the args

Re: [matplotlib-devel] Scale independent drawing

2008-07-23 Thread Ryan May
Eric Firing wrote: Ryan May wrote: Hi, I'll continue my current flood of emails to the list. :) I'm finally getting back to my work on Skew-T plots, and I have a semi-working implementation (attached.) It runs, and as is, plots up some of the grid, with the x-value grid lines

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-23 Thread Ryan May
John Hunter wrote: > On Sat, Jul 19, 2008 at 11:09 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> The only issue I've seen is that scaling with PS is way too big. I've >> attached ps and pdf files from the same run to show the problem. > > The only thing

[matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
) or _set_artist_props(). My SVN foo is failing me right now, so I can't find anything to tell me why these changes were made. Anyone have any ideas? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University o

Re: [matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Hey, >> >> I noticed today, while working on my skewT, that you can't tell the >> axis objects to clip their ticklines. If you want to set clipping on >> each individual tickline. I saw that the code is there in the

Re: [matplotlib-devel] scipy 2008 sprints

2008-07-24 Thread Ryan May
canvas interface for interactive plotting applications > > - Paul I'll be there the whole week, Monday-Sunday. I'm good to help out where I can. My personal goal is to get some work on OpenGL going, but that's less sprinty and more by myself kind of stuff (unless someo

Re: [matplotlib-devel] wx scroll wheel

2008-07-24 Thread Ryan May
p > and down. > > Can someone with gtk please run the following to make sure > I didn't break anything: > > examples/pylab_examples/image_slices_viewer.py > > Works for me. Ryan -- Ryan May Graduate Research As

Re: [matplotlib-devel] clabel improvements

2008-07-24 Thread Ryan May
to do something that modifies the list inplace, like append(), the default argument will retain those changes. For instance, try this: def foo(l=[]): l.append('foo') print l foo() foo() foo(['bar']) foo() Ryan -- Ryan May Graduate Research Assistant School of Meteoro

Re: [matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
mpacts so I'll wait for Mike to weigh in. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

[matplotlib-devel] Bug in Quiverkey

2008-07-24 Thread Ryan May
part of the if chain starts at line 292 of quiver.py. I'm not familiar enough with how this code works to try and fix it. None of the example code seems to exercise the coordinates parameter of quiverkey, just the units parameter for quiver. Ryan -- Ryan May Graduate Research Assistant S

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-24 Thread Ryan May
Eric Firing wrote: > John Hunter wrote: >> On Wed, Jul 23, 2008 at 10:05 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> >>> Ok, it fixes the problem if I pass dpi=72 to savefig(). >>> Curiously, >>> passing dpi=72 to Figure() does not have the same eff

Re: [matplotlib-devel] auto-rotating text and plotyy

2008-07-25 Thread Ryan May
t is the y-axis. Is there an > easy way to do this? Do you have an example of how to use this (or at least what the results look like)? I'm having trouble seeing how this differs from twinx. Ryan -- Ryan May Graduate Research Assistant School

Re: [matplotlib-devel] Wind Barbs Full Patch

2008-07-25 Thread Ryan May
Eric Firing wrote: > John Hunter wrote: >> On Thu, Jul 24, 2008 at 10:00 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> >>> What else is confusing is how that relates to DPI. When I change the >>> figure's dpi, using set_dpi, (and redraw), I get physic

<    1   2   3   >