[Matplotlib-users] Scientific Software developer wanted in Seattle.

2011-03-11 Thread Christopher Barker
being hired by GDIT to work with NOAA, so any questions about salary, benefits, etc, etc should go to GDIT. However, feel free to send me questions about our organization, working conditions, more detail about the nature of the projects etc. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] edit EPS

2010-12-28 Thread Christopher Barker
can be used as a command line SVG renderer, too. Good luck! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] Taylor diagram (mdekauwe)

2010-12-10 Thread Christopher Barker
be compatible with new mpl, scipy, etc. Try replacing the calls to Numeric with numpy. You'll probably need to tweak a few other things, too, but it shouldn't be too much. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959

Re: [Matplotlib-users] Simple animation with Qt4 backend

2010-11-22 Thread Christopher Barker
in a fundementally different way that Wx or Qt. wx has Yield() which sounds a lot like QT's processEvents. But it also has SafeYield() which can (in theory, anyway) be called safetly within an event handler. Does QT have anything similar? -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] recipes in the docs

2010-11-04 Thread Christopher Barker
or so of these, it would be nice to have them categorized -- is that possible with the current system? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-15 Thread Christopher Barker
On 10/14/10 9:52 PM, Alessio Civ wrote: Let' put things this way: if you have to work with many records, it is better if you have a database. pyTables is worth a look, too http://www.pytables.org/moin -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS

Re: [Matplotlib-users] New Mac binary installer for Python 2.6; do we bother with Python 2.5?

2010-10-06 Thread Christopher Barker
old, and there is 2.7 and 3.1 to work with. Thanks for all your work on this. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] ImportError: No module named _path

2010-09-23 Thread Christopher Barker
/matplotlib-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-22 Thread Christopher Barker
. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Christopher Barker
?) yes, it will, as long as no extra fonts get introduced at run time that you didn't test for. but also from the _legal_ point of view (am I obliged to distribute all those fonts?) I can't see why. Strip away. That's what I've done. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

Re: [Matplotlib-users] remove matplotlib an OS X

2010-09-01 Thread Christopher Barker
matplotlib.use('agg') for instance. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Christopher Barker
Fernando Perez wrote: http://www.littlecms.com/ PIL optionally uses littlecms -- so it may have what you need built in. -Chris NOTE: I haven't read the rest of this thread, to sorry if this is redundant information. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division

Re: [Matplotlib-users] Embedding matplotlib in wxPython embedded in wxGTK

2010-08-19 Thread Christopher Barker
wxPython working, using MPL should be exactly t he same as with a pure wxPyton app -- take a look at the embedded_in_wx examples, and/or use wxMPL -- it provides a nice interactive MPL window out of the box: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -Chris -- Christopher Barker, Ph.D

Re: [Matplotlib-users] Embedding matplotlib in wxPython embedded in wxGTK

2010-08-19 Thread Christopher Barker
to do it your case. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-23 Thread Christopher Barker
pretty specialized. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-22 Thread Christopher Barker
, and PIL to save it as a PNG. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Christopher Barker
be the official ones (nothing wring with serving up the 10.6 ones too, if they are well labeled) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Christopher Barker
of that for 2.6, but I kind of doubt it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-25 Thread Christopher Barker
. I'm sorry I can't find the time to do that myself right now. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] Installation for MAC OS 10.5

2010-06-19 Thread Christopher Barker
everything else is up to date). I think that needs the 2.6 from Python.org -- I'd try that if it's not what you're using already -- if you are, then what errors, etc do you get? -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-26 Thread Christopher Barker
toolkit developers. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Christopher Barker
2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all obtained through fink.) OK -- then a fink issue, rather than a Macports one -- same idea, though. My impression is that neither fink nor macports do well with Mac GUI stuff -- unless you're talking X11. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
get a chance, I will look into .drawshapefile(), and figure I can see how to do it from there. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
Jeff Whitaker wrote: On 5/24/10 10:24 AM, Christopher Barker wrote: I need to be able to draw a filled polygon from coordinates in memory, for instance, but didn't see a way to do this directly. Chris: If you have the map projection coordinates of the polygon, nope -- we've got lat-long

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Christopher Barker
confused -- does ipython pylab mode not work for this? That's what it's for. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main

Re: [Matplotlib-users] where's superpack?

2010-03-24 Thread Christopher Barker
) install the scipy binary from scipy.org and there you go -- I suppose it would be nice to have it all in one install, but that's not too hard. (if you really want all in one -- check out Python(x,y) or EPD) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA

Re: [Matplotlib-users] Why the name Axes?

2010-03-23 Thread Christopher Barker
axis, is is an axes. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Problem saving a plot in OSX

2010-03-23 Thread Christopher Barker
window/terminal etc, and so could still make new names for the files. You also might try a different back-end. I'm not sure what EPD sets as the default but there are sometimes odd Tk issues. EPD should support wxPython (wxAgg), and maybe the macosx back-end. -Chris -- Christopher Barker, Ph.D

Re: [Matplotlib-users] basemap and py2exe

2010-03-23 Thread Christopher Barker
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

Re: [Matplotlib-users] installation question

2010-03-22 Thread Christopher Barker
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division

Re: [Matplotlib-users] savefig 0.91

2010-03-16 Thread Christopher Barker
Samuel Teixeira Santos wrote: I fix it. It was a dumb error I using '\' on windows and on ubuntu-linux I must use '/'... note that '\' works in Windows for the most part. Or, better yet, use os.path.join() and friends. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-08 Thread Christopher Barker
thread. Did you ever find code to directly interpolate a triangulation? sorry, no, not yet. Do you already have the triangulation? if so, it's pretty easy to contour. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice

Re: [Matplotlib-users] py2exe message RuntimeError: Could not find the matplotlib data files?

2010-02-20 Thread Christopher Barker
-- but if you read the whole page, you can see that it's gotten pretty easy. Are you still confused? -Chris On 2/19/2010 8:28 PM, Christoph Gohlke wrote: http://lmgtfy.com/?q=py2exe+matplotlib+data+filesl=1 leads me to http://www.py2exe.org/index.cgi/MatPlotLib. -- Christopher Barker, Ph.D

Re: [Matplotlib-users] Looking for a Compiled Demo of MPL Graphics

2010-02-19 Thread Christopher Barker
that someone can manipulate the plot with the navigation controls. At this point, I have no idea if that method is the fundamental graph tool or not. I suspect it is. If a mailable demo isn't available, maybe there's a web site that one can download such examples from? -- Christopher Barker

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Christopher Barker
on or off at compile time. Intel has a lapack that can dynamically select processors, but it's not open-source, and there are licensing issues to re-distributing it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-11 Thread Christopher Barker
. You'll need a lot of things in matplotlib if you're doing much of anything, and namespaces are one honking great idea, so I do: import matplotlib as mpl fig = mpl.figure() etc.. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR

Re: [Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total

2010-02-10 Thread Christopher Barker
:4] # every 4th element Out[9]: array([ 0, 4, 8, 12, 16]) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] Does Matplotlib have Image Processing?

2010-02-10 Thread Christopher Barker
Wayne Watson wrote: See Subject. not really. Try: http://www.scipy.org/doc/api_docs/SciPy.ndimage.html for that. I think there are other IP libs wrapped for python use, too. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526

Re: [Matplotlib-users] Matplotlib Online: HOW TO?

2010-02-08 Thread Christopher Barker
. PHPlot may be also -- I know nothing of it. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar

Re: [Matplotlib-users] Matplotlib conflicts with IDLE

2010-02-05 Thread Christopher Barker
stick with IDLE. It is the perfect IDE for non-CS students who shouldn't be spending their time on the complexities of a plotting package. Spyder: http://packages.python.org/spyder/ Looks really promising, but I don't think they've got OS-X packages yet. -Chris -- Christopher Barker, Ph.D

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-28 Thread Christopher Barker
suggest that that be made: leg.draggable(True) leg.draggable(False) or leg.draggable('on') leg.draggable('off') or even a property: leg.draggable = True or some such. I'd be nice not to have to keep track of the current state. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR

Re: [Matplotlib-users] position a wxPython frame near to a matplotlib point

2010-01-22 Thread Christopher Barker
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Printing Graphs and Image Processing Operations

2010-01-19 Thread Christopher Barker
and TK. Note that for wx at least, you do need access to a Windowing system, even if you aren't displaying anything. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [Matplotlib-users] bezier curve through set of 2D points

2010-01-14 Thread Christopher Barker
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] newbie question: type check?

2010-01-12 Thread Christopher Barker
. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Best practices for organizing plotting code? (Greg Novak)

2009-12-22 Thread Christopher Barker
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Plotting Hex grid

2009-12-17 Thread Christopher Barker
been factored in a way that you can use the drawing code without the binning code. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread Christopher Barker
with it. Perhaps we should do the same thing with MPL -- I'm sure he'd be glad to share his scripts for building it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread Christopher Barker
Christopher Barker wrote: The diskimage is usually built for the python binary supplied by python.org -- that is what the message means by the system version. I tried to submit a patch to change that message a year or two ago, but I guess it never got applied -- maybe I'll try again. I

Re: [Matplotlib-users] bug in run_all.py

2009-11-23 Thread Christopher Barker
to accommodate white space. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] set figure position

2009-11-22 Thread Christopher Barker
-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] line thicknes in axes

2009-11-17 Thread Christopher Barker
Pavlo Shchelokovskyy wrote: is there is a consistent way to scale at once thickness of everything drawn on figure, i.e. axis, plots, fonts?.. I think what you want is to set a dpi that works for you: http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -Chris -- Christopher

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Christopher Barker
the toolbar that activates those modes. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] close-event

2009-11-16 Thread Christopher Barker
be a good idea. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Docked/tabbed figures in one window?

2009-11-13 Thread Christopher Barker
on wx that will save you a bit of work. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] rasterizing a figure

2009-11-12 Thread Christopher Barker
Geoffrey Ely wrote: Hi, What is the best way to rasterize a figure into a numpy array for further image processing? untested, but I suspect: image = numpy.frombuffer( fig.canvas.renderer.buffer_rgba).reshape( shape ) might work -- something like that, anyway. -CHB -- Christopher Barker

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Christopher Barker
should include libs that are in /usr/local with the bundle, so that may be a py2app bug/feature. Boy, this is a pain! oh well, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-09 Thread Christopher Barker
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Installing problems

2009-11-02 Thread Christopher Barker
with the python.org Python 2.5 there is: matplotlib-0.99.1.1-py2.6-macosx-10.3-fat.egg for Python 2.6 I haven't had to compiled MPL is a good while. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206

Re: [Matplotlib-users] contribution offer: griddata with gaussian average

2009-10-05 Thread Christopher Barker
, the documentation is terse. Can I be enlightened here? It looks like they are both part of a similar class of methods: http://en.wikipedia.org/wiki/Kernel_%28statistics%29 As such, it makes sense to me to have them all in SciPy, sharing code and API. -Chris -- Christopher Barker, Ph.D

Re: [Matplotlib-users] contribution offer: griddata with gaussian average

2009-10-04 Thread Christopher Barker
, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] scaling arrows in quiver

2009-10-01 Thread Christopher Barker
should add width_units, identical to units, and deprecate the latter; this might make the meanings of the kwargs clearer.) +1 But if you're doing that, you may want to make more changes, also -- you might as well do them all at once. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] glumpy: fast OpenGL numpy visualization + matplotlib integration

2009-09-29 Thread Christopher Barker
a lot of code to write! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] python script

2009-09-28 Thread Christopher Barker
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] interactive python session with matplotlib

2009-09-25 Thread Christopher Barker
prompt is not blocked. It's handy for mixing an interactive prompt and GUI stuff, even if you aren't using MPL. Plus you get all the other nifty iPython features. Give it try -- it's wonderful. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR

Re: [Matplotlib-users] Contouring on triangular grids

2009-09-18 Thread Christopher Barker
and memory. In particular, it should work better around the edges of a non-rectangular domain. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
out a bunch of dirs, and where there are should tell you where your python is installed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
- wxPython, QT, PIL, ??? Without good reason, I'd just go with the python,org build. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526

Re: [Matplotlib-users] best format for MS word?

2009-09-02 Thread Christopher Barker
Cairo back-end, rather than trying to go to SVG-emf. good luck! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] Piecewise Cubic Hermite Interpolating Polynomial in python

2009-09-02 Thread Christopher Barker
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Christopher Barker
of the figure, as you've discovered. The default for a single axes in a figure is: (0.125, 0.1, 0.9, 0.9) so you might try something like: axes.set_position((0.125, 0.15, 0.9, 0.85) ) what is best depends on what size you want your figure to look good at. -Chris -- Christopher Barker, Ph.D

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2009-08-21 Thread Christopher Barker
get around to it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] wx and matplotlib

2009-08-16 Thread Christopher Barker
://matplotlib.sourceforge.net/examples/index.html in particular, you might want to look at the wx examples here: http://matplotlib.sourceforge.net/examples/user_interfaces/index.html -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE

Re: [Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-12 Thread Christopher Barker
result. You may even be able to grab code straight from scipy.interpolate, an apply it on the different portions of your grid separately. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way

Re: [Matplotlib-users] matplotlib, build from source on osx 10.5.8

2009-08-07 Thread Christopher Barker
that the UnixImageIO Framework from Kyng Chaos should give you a good libpng (and freetype), you just have to make sure that MPL can find it. Another easy option is to use Macports to build it, with the universal variant. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response

Re: [Matplotlib-users] matplotlib, build from source on osx 10.5.8

2009-08-07 Thread Christopher Barker
search paths, by editing setup_ext.py. Look for the basedir dict. -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-03 Thread Christopher Barker
trying to solve with idle events, but maybe an abstraction of a timer system would be a more robust approach, for animations, anyway. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206

Re: [Matplotlib-users] ipython --pylab without namespace pollution?

2009-07-27 Thread Christopher Barker
, and that had the same effect. thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

[Matplotlib-users] Turning off the timezone (and more) in AutoDateFormatter

2009-07-22 Thread Christopher Barker
= self.format_strings.get(scale, self.fallback_format) self._formatter = DateFormatter(f_string, self._tz) return self._formatter(x, pos) -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Christopher Barker
a complex app like this -- pylab is designed for simple interactive use and quick scripts. In an app, you want full control. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

Re: [Matplotlib-users] Non-X11 fallback on import

2009-06-01 Thread Christopher Barker
if you can't just have a different start-up script depending on whether they want to run the GUI version or not. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle

Re: [Matplotlib-users] free'ing the plotted data?

2009-05-27 Thread Christopher Barker
not be the elementree that has multiple references, but rather something inside itThis is very tricky business -- Python frees you from worrying about memory management almost all the time, but it does mean that you give up control. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] Printing in wx

2009-05-27 Thread Christopher Barker
of Python, wxPython and MPL are you running? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] repeated GUI generation generates crash

2009-05-21 Thread Christopher Barker
that have nothing to do with matplotlib, so that's not its default behavior. Just use ipython -pylab if you want to do interactive plotting, that's what it's for. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-18 Thread Christopher Barker
to work. Thanks! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Where are AutoDateLocator and AutoDateFormatter?

2009-05-18 Thread Christopher Barker
which exposes the problem I'll try and fix it. OK. Enclosed. If you uncomment the date2num call, it works fine, but it crashes as it is. Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-18 Thread Christopher Barker
is the bigger deal! Thanks to all that contributed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

[Matplotlib-users] Where are AutoDateLocator and AutoDateFormatter?

2009-05-15 Thread Christopher Barker
and formating? note: I'm trying to do this for the x axis of a quiver plot, which doesn't seem to support passing in dates directly. Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE

Re: [Matplotlib-users] Stick Plot?

2009-05-13 Thread Christopher Barker
Eric Firing wrote: Christopher Barker wrote: Has anyone used MPL to make stick plots? If so, can I borrow your code? If no one volunteers anything, then I suggest using quiver(..., headlength=0, headwidth=0, headaxislength=0), together with quiverkey(...). This will effectively give you

Re: [Matplotlib-users] copied text

2009-05-08 Thread Christopher Barker
Michael Droettboom wrote: examples of embedding matplotlib inside of a wxPython GUI here: http://matplotlib.sourceforge.net/examples/user_interfaces/index.html I'd also check out wxMPL, it's a nice way to embedMPL in a GUI: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -CHB -- Christopher

[Matplotlib-users] Stick Plot?

2009-05-06 Thread Christopher Barker
Hi folks, Has anyone used MPL to make stick plots? If so, can I borrow your code? http://tabs.gerg.tamu.edu/Tglo/RTA/N/Oceanographic_CurrentStick_30.html Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206

Re: [Matplotlib-users] Stick Plot?

2009-05-06 Thread Christopher Barker
Eric Firing wrote: Christopher Barker wrote: Has anyone used MPL to make stick plots? If so, can I borrow your code? If no one volunteers anything, then I suggest using quiver(..., headlength=0, headwidth=0, headaxislength=0), together with quiverkey(...). This will effectively give you

Re: [Matplotlib-users] O pylab why do you refuse to import?

2009-05-06 Thread Christopher Barker
that file exist? If so, try running: $ file ft2font.so and see what it says -- it may be a PPC- only binary. I'm using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11 -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959

[Matplotlib-users] using MPL and ipython run command

2009-05-06 Thread Christopher Barker
am I missing? thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] using MPL and ipython run command

2009-05-06 Thread Christopher Barker
then get an updated plot. It's not doing that now. what am I missing? thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206

Re: [Matplotlib-users] O pylab why do you refuse to import?

2009-05-06 Thread Christopher Barker
, which makes sense, as I'm running on a ppc machine. If you don't have it, probably the easiest thing to do is install Apple's X11 -- otherwise, perhaps MPL should be built against a static libfreetype. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS

Re: [Matplotlib-users] using MPL and ipython run command

2009-05-06 Thread Christopher Barker
what you want to see. Gökhan On Wed, May 6, 2009 at 6:09 PM, Christopher Barker chris.bar...@noaa.gov wrote: Hi all I'm sure this is documented somewhere, but I can't find it. I'm finally getting around to learning ipython, which is pathetic as it sure seems like a great tool

Re: [Matplotlib-users] using MPL and ipython run command

2009-05-06 Thread Christopher Barker
Christopher Barker wrote: Gökhan SEVER wrote: You may add these two lines: fig = plt.figure() fig.clear() I thought I'd tried that (at least I'd tries plt.clf() ), but indeed, that takes care of it. I'm a bit confused as to why that is necessary, but at least it's working for me. oops

Re: [Matplotlib-users] Stick Plot?

2009-05-06 Thread Christopher Barker
point. Also what you showed in your original post seem a little like wind-barbs, well except without notches. yup -- stick plots are commonly used for wind data. -Chris Gökhan On Wed, May 6, 2009 at 4:46 PM, Christopher Barker chris.bar...@noaa.gov wrote: Eric Firing wrote

Re: [Matplotlib-users] using MPL and ipython run command

2009-05-06 Thread Christopher Barker
Gökhan SEVER wrote: I am playing with some other commands to achieve updating on the same figure, no luck yet. I guess that is what you actually been trying to see? Update the figure content without opening another one? right. Christopher Barker wrote: oops, no it doesn't -- what

  1   2   3   >