Re: [matplotlib-devel] wrote a selection bar widget (attached)

2008-11-26 Thread Drain, Theodore R
> > Things I struggled with: > > * When a bar is dragged towards one of the figure edges too quickly, > it gets > > stuck in its last recorded position on the graph (that should be the > figure > > edge). > > I think the cause of this is when your mouse leaves the axes, the axes > stops processing

Re: [matplotlib-devel] requesting permission to remove traits and configobj

2008-12-11 Thread Drain, Theodore R
John, One thing that would help w/ a rapid delivery/response cycle would be more comprehensive tests.They would let other developers try out various ideas and see what breaks before you release it. We’ve implemented an automated approach where we run an MPL script using Agg, save the output

[matplotlib-devel] Automated test harness discussion...

2008-12-16 Thread Drain, Theodore R
see if there are any fuzzy image comparison algorithms they can recommend. Ted > -Original Message- > From: Gael Varoquaux [mailto:gael.varoqu...@normalesup.org] > Sent: Thursday, December 11, 2008 10:06 PM > To: Andrew Straw > Cc: Drain, Theodore R; matplotlib-devel@list

[matplotlib-devel] Basemap question for Jeff: different data directory?

2008-12-16 Thread Drain, Theodore R
Jeff, Is it possible to install the basemap data into a different directory? I'm trying to set up a tool delivery layout for our users that allows me to rapidly update packages that tend to change. We have a core set of software that our code is built on and it's a lot of work for us to update

Re: [matplotlib-devel] Basemap question for Jeff: different data directory?

2008-12-17 Thread Drain, Theodore R
Nope - no windows users (yet - but we'll test it first if we ever have to deliver there). That will work perfectly - Thanks!!! Ted > -Original Message- > From: Jeff Whitaker [mailto:jsw...@fastmail.fm] > Sent: Wednesday, December 17, 2008 5:03 AM > To: Drain

[matplotlib-devel] John: Thoughts on a standard test system

2008-12-22 Thread Drain, Theodore R
John, Sometime in January, we are going to spend some time fixing a few minor MPL bugs we've hit and a probably work on a few enhancements (I'll send you a list in Jan before we start anything - it's nothing major). We're also going to work on writing a set of tests that try various plots w/ un

Re: [matplotlib-devel] Multipage pdf files

2009-01-02 Thread Drain, Theodore R
Another (still slightly hacky) way might be to define an optional attribute of the file object. Something like this: if hasattr( outputFile, "mplFormat" ): format = getattr( outputFile, "mplFormat" ) Then have set PdfFile.mplFormat to be "pdf". This is a little less hacky in that it doesn

Re: [matplotlib-devel] John: Thoughts on a standard test system

2009-01-06 Thread Drain, Theodore R
Message- > From: John Hunter [mailto:jdh2...@gmail.com] > Sent: Tuesday, January 06, 2009 7:03 AM > To: Drain, Theodore R > Cc: matplotlib-devel@lists.sourceforge.net > Subject: Re: [matplotlib-devel] John: Thoughts on a standard test > system > > On Mon, Dec 22, 200

Re: [matplotlib-devel] Updated units.ConversionInterface

2009-01-28 Thread Drain, Theodore R
(nitpick mode on) Saying they can ignore it more easily seems like a bit of a stretch to me. If you're writing a converter you MUST include the axis in the function signature since callers will be passing it in. Whether or not you use it in the converter implementation is obviously dependent

Re: [matplotlib-devel] FW: Polar Plot Design Issues

2009-02-04 Thread Drain, Theodore R
Another vote here for changing resolution=1 to be the default. It seems strange to plot values on a line plot and not have the values connected. At least in my area, every polar plot of real-world data we make needs to set this flag to 1 or the wrong plot is created. Ted > -Original Mess

Re: [matplotlib-devel] Arc requires explicitly setting fill=False?

2009-05-25 Thread Drain, Theodore R
FYI: The main reason we needed Arc was related to zooming accuracy and performance. We're drawing ellipses on a planetary scale (1000's of km) and then drawing other items (targeting points, error ellipses, etc) in only a small part of the planetary ellipse (1-10 km). Drawing a complete ellips

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-08-11 Thread Drain, Theodore R (392P)
We've written a style system that lives on top of the MPL code that has a similar syntax to what you're proposing. A simple example: style = smgr.create( "Big Title" ) style.axes.title.font.family = "sans-serif" style.axes.title.font.size = 24 style.apply( figure ) - Styles get created using an x.

Re: [matplotlib-devel] MEP26: Artist-level stylesheets

2014-09-12 Thread Drain, Theodore R (392P)
OK. I'm working on getting permission from management to make this available but nothing is going to happen (end if fiscal year) until early October. I'll let you know more as soon as I can. It might be nice to start a list of functional requirements that a style system should meet. In imple

Re: [matplotlib-devel] Date overhaul?

2015-01-08 Thread Drain, Theodore R (392P)
I agree w/ the original poster that it would help to have a MEP to clearly define what the goals of the overhaul are Something else to keep in mind: we at least don't normally plot dates in "earth" based time systems. ~10 years ago we contracted with John Hunter to add the arbitrary unit sys

Re: [matplotlib-devel] Date overhaul?

2015-01-08 Thread Drain, Theodore R (392P)
sday, January 08, 2015 10:57 AM To: Drain, Theodore R (392P); matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel] Date overhaul? One of the other driving factors to over-haul the default date handling is that floats do not have enough precision to deal with nano-second resoluti

Re: [matplotlib-devel] Date overhaul?

2015-01-08 Thread Drain, Theodore R (392P)
e specific questions feel free to send them to me. Ted From: Thomas Caswell [tcasw...@gmail.com] Sent: Thursday, January 08, 2015 11:14 AM To: Drain, Theodore R (392P); matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel] Date overhau

[matplotlib-devel] First release of an object oriented style system

2015-03-07 Thread Drain, Theodore R (392P)
Last year we implemented an object oriented plotting style system for our users and I was able to convince our management that we should open source it. You can find it here: https://github.com/nasa/mplStyle Many (most?) of the existing MPL style systems seem to be built around RC parameters

Re: [matplotlib-devel] empty date formatter unit tests

2009-09-20 Thread Drain, Theodore R (343P)
John, I've run into this problem quite a few times and I'd love to figure out some way to fix it. As an example, here's the kind of scenario this occurs in: I embed MPL in a few different GUI's that plot data either in real-time or via the user selecting things. There is a saved state which co

Re: [matplotlib-devel] empty date formatter unit tests

2009-09-21 Thread Drain, Theodore R (343P)
Wow - thanks for the detailed update. I feel bad for making you type that much :) Thanks for fixing that problem. Ted > -Original Message- > From: John Hunter [mailto:jdh2...@gmail.com] > Sent: Sunday, September 20, 2009 7:35 PM > To: Drain, Theodore R (343P) > C

Re: [matplotlib-devel] Dissapearing data? / path.simplify behavior

2009-11-17 Thread Drain, Theodore R (343P)
FYI: Thanks for the help John. This is case where having path.simplify = True causes the plot to be incorrect. Attached are two different images (not quite the same data as the original post- but the same affect). One with path.simplify as true and one as false. Notice the bottom right plot

Re: [matplotlib-devel] Selecting all the way to the edge of a plot

2010-03-22 Thread Drain, Theodore R (343P)
I'd like to throw another vote in for this feature as well. We have a lot of cases like this and not being able to zoom to the limits of the window is a real head ache. Back in the old days (when we were maintaining our own plot library), we solved this by allowing the bounding rectangle to be

Re: [matplotlib-devel] Selecting all the way to the edge of a plot

2010-03-22 Thread Drain, Theodore R (343P)
10 8:39 AM To: Drain, Theodore R (343P) Cc: matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel] Selecting all the way to the edge of a plot On 22 March 2010 11:32, Drain, Theodore R (343P) wrote: > I'd like to throw another vote in for this feature as well. We have a lo

Re: [matplotlib-devel] nasty import behavior

2010-07-08 Thread Drain, Theodore R (343P)
We've had users run into the same problem (and have a similar reaction). At least on our end, there was a key assumption that users were making about how a plotting system worked. They expected to be able to do something like this: ... plot stuff here if outputFile: P.savefig( "plot.png" )

Re: [matplotlib-devel] MEP9: interactivity

2012-08-17 Thread Drain, Theodore R (343P)
OK - I'll start the ball rolling... One feature that would be nice to have is positioning options that are not pixel based. See the annotate function for some possibilities: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.annotate I'm not sure if all of these opti