Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread othererik
Alex S wrote: > > Hi there, does anyone know if there's a simple way to set an axis limit to > a date? "viewlim_to_dt()" looks promising, but I can't figure out how to > use it... > > Thanks a lot, > Alex > Alex, I've done something like this in the past: ax.set_xlim( ( min_val,

Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-12 Thread othererik
Jae-Joon Lee wrote: > > > Please post a complete example that demonstrate your problem. My guess > is that maybe you are not setting the transform of the clipping path > correctly. > Regards, > > -JJ > > > Here's a short example that does the opposite of what I'm looking for. The goal is

[Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-09 Thread othererik
I've become stuck on what seems to be an easy problem. Can part of a patch or collection be masked or otherwise hidden? I assumed that my_polygon.set_clip_path( patch ) where patch is a patches.Polygon would do the trick. Thanks, -Erik -- View this message in context: http://old.nabble.com

Re: [Matplotlib-users] need plot advise

2010-01-08 Thread othererik
Mag, Are you looking at time series or just a single value per user? Time series lends itself to a line plot. There are plenty of style options, etc. to highlight each user and the average. If you're looking at a single value per user, a bar chart may be a good choice: http://matplotlib.sourc

[Matplotlib-users] Delaunay nn_interpolator hang

2010-01-06 Thread othererik
Good day all, I've hit an infinite loop/hang using the delaunay package. Unfortunately, I haven't been able to reproduce the issue with a nice minimal dataset, so I don't expect much help, but I did want to note it in case. I've been working with the delaunay package, making contour plots from

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-20 Thread othererik
John, Thanks for the information. The solution worked so, I can now do a mouse over over lines from either axes and have a nice little tooltip, etc. I found that if I change the zorder of the axis right after attempting to "pick" on the mouse event, it fails, but it's fine for my needs to just t

Re: [Matplotlib-users] griddata array size limit?

2009-08-19 Thread othererik
tfoutz99, I occasionally run into this issue as well. At quick glance I suspect it may be related to the limitation listed at: http://www.scipy.org/scipy/scikits/ticket/61 ...but I could be way off base as I'm not sure if the code is derived from the same place. -Erik tfoutz99 wrote: > > Hi

[Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2009-08-19 Thread othererik
Good day, I've hit an issue that may be a bug. In a previous version of matplotlib (.98.x) I had a picker set for lines plotted on two axes. This was working until I upgraded to version 0.99.0. Now the first axes's pick events never seem to fire even though they respond true if queried with pi