Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 29, Issue 19

2008-10-20 Thread Christopher Barker
ast I looked into it, wxAgg was doing some extra unneeded blitting of the image to the screen, which makes little noticeable difference usually. but you might really feel that over an remote X connection. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 5

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

2008-10-28 Thread Christopher Barker
performance, I'm still curious where all this speed comes from. MPL already uses Agg for a lot, and it's generally reported to be as fast as many native drawing APIs (though maybe not quartz?) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/O

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

2008-10-29 Thread Christopher Barker
Michiel de Hoon wrote: > --- On Tue, 10/28/08, Christopher Barker <[EMAIL PROTECTED]> > wrote: >> I'm still curious where all this speed comes from. > At this point, most of it is coming from having complete control over > the event loop, which allows to avoid super

Re: [matplotlib-devel] os x egg fubar?

2008-12-16 Thread Christopher Barker
out a hitch on 10.4 Indeed, that name may work for 10.5 too. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [matplotlib-devel] Can we retire numerix?

2009-02-24 Thread Christopher Barker
et it out of matplotlib, or phase it out if necessary. I don't > think it should be left there forever. I agree. - Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-63

Re: [matplotlib-devel] Can we retire numerix?

2009-02-24 Thread Christopher Barker
e obvious where the numerix > import was coming from Found it: it was wxmpl. I'm going to send a patch to Ken. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-09 Thread Christopher Barker
edError("wxversion.ensureMinimal() must be called before wxPython is imported") wxversion.AlreadyImportedError: wxversion.ensureMinimal() must be called before wxPython is imported which might be the safest, and would catch both pylab use, and people's home-written apps

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-09 Thread Christopher Barker
ed parts of the wx back-end, by using some new features. However, if future versions of wxPython get the new enhanced buffer interface, it might be nice to use it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-695

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-11 Thread Christopher Barker
ather than a new feature.) Great, thanks! thanks for taking care of us wx users... -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206)

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-04 Thread Christopher Barker
Eric Bruning wrote: > The idea of a shell with inline plots is a fascinating one - Then check out reinteract -- very cool: http://www.reinteract.org/trac/ (though no opengl) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(2

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-11 Thread Christopher Barker
just turn it off everywhere, it's the safer bet. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (2

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-11 Thread Christopher Barker
grain.com/research/font_rasterization/ I wonder how the MS tricks do for math -- I'd expect kind of a mess. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [matplotlib-devel] Units issue

2009-05-20 Thread Christopher Barker
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(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-devel] Units issue

2009-05-20 Thread Christopher Barker
age. It would be great to have a semi-standard for this stuff in the SciPy world -- and certainly MPL compatible! > last I saw it stalled a little due to issues with subclassing ndarray. Darn. I hope I'll get a chance to delve into it soon. -Chris -- Christopher Barker, Ph.D. Oceanogr

Re: [matplotlib-devel] Units issue

2009-05-20 Thread Christopher Barker
dated to cm and both would be plotted in cm. this is a little two implicit for me -- I'd rather specify the units explicitly, rather than have the last data added determine it for me. ax.set_xunit('cm') I'd probably have it default to the first unit used. -Chris

Re: [matplotlib-devel] Units issue

2009-05-21 Thread Christopher Barker
would be: ax.plot(mpl.length2num(values.rescale('cm')) ) ax.set_xlim(mpl.length2num(limits.rescale('cm')) ) In the end, I think datetimes are easier, not as many options. I'm not sure all this was very clear, but hopefully it added

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

2009-12-03 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 -

Re: [matplotlib-devel] Persistent Matplotlib Figures

2009-12-17 Thread Christopher Barker
hange them, I edited the scripts and re-ran them -- exactly the workflow we're suggesting for Python/MPL. But that was 10 years ago... -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Sea

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2009-12-29 Thread Christopher Barker
t; compatibility (that's why I don't care much about all the discussion > about versioning - I don't think it is very useful as long as python > itself does not support it natively). could be -- I'd love to have Python support it natively, though wxversion isn't too b

Re: [matplotlib-devel] Pgfplots (TikZ) backend: implementation strategy

2010-01-12 Thread Christopher Barker
t). Also psfrag is great, though I haven't found a pdffrag -- is there one? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (20

Re: [matplotlib-devel] Pgfplots (TikZ) backend: implementation strategy

2010-01-12 Thread Christopher Barker
pports any PS graphics. I wanted it the other day for a diagram I made with INkScape (I couldn't get the TeX plugin working...) Maybe you could port psfrag to pdf instead (my selfish desire...) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NO

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

2010-02-17 Thread Christopher Barker
gaxes((2,1)) > Out[38]: > (, > [, > ]) > > In [39]: figaxes((2,2),dict(polar=True)) > Out[39]: > (, > [, > , > , > ]) I like it! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 vo

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

2010-02-18 Thread Christopher Barker
n imagine that I might define that somewhere else, and it's handy to have it as a single object. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread Christopher Barker
nto the point coordinate array. some systems also store indexes to the neighbors of each triangle, etc. I think that should all be hidden in the mesh class. > Do you have some example code or images? There were some links in that thread. Ian, maybe you should post them again. -Chris -

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread Christopher Barker
posed of. That would be better as (ntri, 3), to be compatible with the usual C ordering of numpy arrays. just a nit, - Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-632

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread Christopher Barker
atplotlib.delaunay. > right, and the goal is to make it pretty easy to plug in another triangulation routine, or a pre-defined triangulation, if you have one. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voic

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread Christopher Barker
John Hunter wrote: > It would probably > be beneficial, but by no means required, to use CXX to expose the C++ > part to python so take a look if you are inclined. What about Cython -- is any one using Cython in MPL yet? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

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

2010-03-18 Thread Christopher Barker
lot always returns a SINGLE axis -- you have to call it multiple times to get the whole set. Does this version return the whole set? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Wa

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

2010-03-18 Thread Christopher Barker
st important > to get right. OK, but then how do you handle the fact that you might get a 0-d, 1-d or 2-d result? Eric's "squeeze" flag would result in that. Having squeeze1d and squeeze2d flags seems a bit much. -Chris -- Christopher Barker, Ph.D. Oceanographer Em

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

2010-03-18 Thread Christopher Barker
rned as a 2d array. > > - if False, no squeezing at all is done, the return value is always a > 2-d array, even if it ends up being 1x1. Good solution, and thanks for working on this! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

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

2010-03-19 Thread Christopher Barker
things I want to do. > For this reason, I think the name should be really > well chosen, and I'm not convinced fig_subplot is a very good one. I'll leave the name decisions to you folks, I just wanted to be encouraging! -Chris -- Christopher Barker, Ph.D. Oceanographer Emerge

Re: [matplotlib-devel] Release schedule for version 1.0.1?

2010-10-28 Thread Christopher Barker
earned about this, and will start doing it with my bundled up apps -- but that does seem pretty un-pythonic -- shouldn't it be possible to set this sort of thing without resorting to that little round trip through environment variables? Not a big deal, but it feels kludgy. -Chris -- Christo

Re: [matplotlib-devel] Release schedule for version 1.0.1?

2010-10-28 Thread Christopher Barker
On 10/28/10 11:50 AM, John Hunter wrote: > On Thu, Oct 28, 2010 at 1:11 PM, Christopher Barker >>> You can set these env variables within your code, before import of >>> matplotlib via os.environment. > The MPLCONFIGDIR tells mpl where to find the config file. It's

Re: [matplotlib-devel] How to decouple non-GUI stuff from the GUI?

2010-11-18 Thread Christopher Barker
s, and a pretty rapidly changing API (or ABI anyway). Oh, and it depends on various GUI toolkits that have those same issues. I can't imagine how a CPAN-like system would help with that at all. Installing pure python packages isn't a problem at all. -Chris -- Christopher Barker, Ph.

Re: [matplotlib-devel] How to decouple non-GUI stuff from the GUI?

2010-11-19 Thread Christopher Barker
> In other words, with this simulation in place, one should be able to > create graphical objects, translate them, scale them, shear them, > recombine them, split them up, interrogate them, etc., and finally > save these objects to files, without a window ever popping up. In > fact, this code shou

Re: [matplotlib-devel] PATCH: fix libpng URLs for OS X makefile

2010-12-10 Thread Christopher Barker
ne now?) I also notice that they are in: MacOSX10.4u.sdk (under X11) -- so maybe the static libs in there could be used. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 f

Re: [matplotlib-devel] How to decouple non-GUI stuff from the GUI?

2010-12-14 Thread Christopher Barker
an Mac OS > 10.6 system, with a minimum of downloaded packages and using the > standard system stuff as far as possible. That would still be nice -- I'm still not sure if you can count on X11 being installed, though -- do you know? -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [matplotlib-devel] backends

2006-07-10 Thread Christopher Barker
a, except it's written in C. There's some discussion of using it in wxWidgets, and, of course, it's already used in newer GTKs. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sa

Re: [matplotlib-devel] wx-style layout engine for matplotlib: mplsizer

2006-07-31 Thread Christopher Barker
est? All the other sizers are just a simplification of that anyway. just my $0.2 Despite that small suggestion -- very nice work! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand

Re: [matplotlib-devel] mathtext SoC update

2006-08-02 Thread Christopher Barker
John Hunter wrote: > the STYX fonts are released did you mean the STIX fonts? http://www.stixfonts.org/ > - here are a set of test fonts: http://some.web.site Is that really the link? -- Christopher Barker, Ph.D. Oceanographer NOA

Re: [matplotlib-devel] mathtext SoC update

2006-08-02 Thread Christopher Barker
eX from the existing code base would result in a far more robust result. Another option is to build a stripped down TeX distribution that we would deliver with MPL. Also a lot of work, but it could be restricted to only a small number of fonts, packages, etc. Anyway, anything that someone wil

Re: [matplotlib-devel] binary release for numpy 1.0

2006-08-02 Thread Christopher Barker
e numpy you used as well. I don't know if it's time to do that quite yet though. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattl

Re: [matplotlib-devel] numerix.nan?

2006-08-07 Thread Christopher Barker
. I was wondering about endian issues. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 52

Re: [matplotlib-devel] [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-15 Thread Christopher Barker
I moved this to the devel list -- that seemed more appropriate. Stefan van der Walt wrote: > On Mon, Aug 14, 2006 at 11:12:29AM -0700, Christopher Barker wrote: >> Another (or additional) option is for both MPL and wx to support >> the new array interface protocol in numpy. >

Re: [matplotlib-devel] [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-17 Thread Christopher Barker
Hi all, I seem to be talking to myself here, but if someone (including myself) wants to pick this up in the future, it'll be good to have it in the archives. Christopher Barker wrote: >> There is also the >> wx.Image.SetDataBuffer method, which will have the wxImage use the &g

Re: [matplotlib-devel] [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-17 Thread Christopher Barker
Darren Dale wrote: > I think all the high rollers are at SciPy 2006. Oh right. This is the third year in a row that I have ALMOST gone myself. Maybe next year. But what's the deal? Aren't they all hooked up to wifi and checking email constantly? -Chris -- Christopher

Re: [matplotlib-devel] [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-17 Thread Christopher Barker
rer.height-t), self.pixmap) And this looks like wx. I wish I had more time to work on this, but I'm in a crunch that I'll be in for while -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6

[matplotlib-devel] [Fwd: [wxPython-users] Re: using wxImage in C++ python extension]

2006-08-18 Thread Christopher Barker
-------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6

Re: [matplotlib-devel] [Fwd: [wxPython-users] Re: using wxImage in C++ python extension]

2006-08-28 Thread Christopher Barker
r? Isn't it the whole image anyway? What is is it going to get blended with? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98

Re: [matplotlib-devel] [Fwd: [wxPython-users] Re: using wxImage in C++ python extension]

2006-08-28 Thread Christopher Barker
27;) > >>> for row in xrange(dim): > ... for col in xrange(dim): > ...arr[row,col,R] = 0 > ...arr[row,col,G] = 0 > ...arr[row,col,B] = 255 > ...arr[row,col,A] = int(col * 255.0 / dim) > ... > >>> bmp = wx.BitmapFromBufferR

Re: [matplotlib-devel] [Fwd: [wxPython-users] Re: using wxImage in C++ python extension]

2006-08-31 Thread Christopher Barker
eed to be? However, there is something to be said for just using alpha everywhere, and as we'll soon be able to dump RGBA data straight into a wx.Bitmap, this should work great. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [matplotlib-devel] [Fwd: [wxPython-users] Re: using wxImage in C++ python extension]

2006-08-31 Thread Christopher Barker
ba method -- that could be nice, and would work as a buffer, too. Maybe when we are ready to dump Numeric and numarray. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Wa

Re: [matplotlib-devel] 87.5 binary for os-x

2006-09-12 Thread Christopher Barker
ay. And for the OP: Charlie has put eggs for OS-X that work for a t least a few of us here: http://euclid.uits.iupui.edu/mplfiles/ -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand P

Re: [matplotlib-devel] example: wx.ToolTip for MPL axes

2006-09-14 Thread Christopher Barker
es to use native functionality where it can and that does make for differences. I'm going to take this discussion over to wxpython-users -- are you on that list too? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZ

Re: [matplotlib-devel] ginput in pylab

2006-10-30 Thread Christopher Barker
ouse event you want, and make it non-modal again. What I don't know is if you can make a Frame model/non-model without hiding and showing it in the process... I also don't know if other toolkits work similarly. -Chris -- Christophe

Re: [matplotlib-devel] Numeric and numarray

2006-12-13 Thread Christopher Barker
rsions, backends, etc. This in one place we can simplify. In theory, MPL can use numpy internally, and still get data passed to it from Numeric and numarray with the array protocol, so you wouldn't be completely abandoning users stuck with the older packages. -Chris -- Christopher B

[matplotlib-devel] MPL 0.87.7 and wxPython 2.8 and OS-X

2007-01-18 Thread Christopher Barker
wx.__version__ '2.8.0.1' >>> numpy.__version__ '1.0.1' >>> Numeric.__version__ '24.2' -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Poin

Re: [matplotlib-devel] ANN: matplotlib-0.90.0

2007-02-06 Thread Christopher Barker
Darn! missed the chance to update the wx back-end -- oh well, hopefully the next release. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main recep

Re: [matplotlib-devel] [Matplotlib-users] Notes on switching backends to qt4 on mac os x

2007-02-07 Thread Christopher Barker
. The default > configuration compiles and installs fine. The other tools (PyQt4 and > SIP) also compile and install painlessly with the default configuration. Any chance you could package it up an submit it to the pythonmac archive? Does it support a Universal build? -Chris -- Christ

Re: [matplotlib-devel] [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Christopher Barker
an be created from a Python buffer object without copying the data. So if we can expose the Agg buffer as a Python buffer, as RGB, then we should be able to get decent performance with pure python. You'd still need to do the wxBitmapFromImage thing, but the accelerated back-end does that t

Re: [matplotlib-devel] WXAgg backend updates

2007-02-22 Thread Christopher Barker
see the weird toolbar behavior with 2.8 on OS-X? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 9

Re: [matplotlib-devel] WXAgg backend updates

2007-02-22 Thread Christopher Barker
e correct wx-config. Is there any point to that now? If so, I'll sent it along to you. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattl

Re: [matplotlib-devel] memory leaks

2007-03-28 Thread Christopher Barker
You used gnuplot to plot MPL memory use? for shame, for shame! ;-) -Chris Tom Holroyd (NIH/NIMH) [E] wrote: > as shown in the graph, then stabilizes. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point

Re: [matplotlib-devel] when to deprecate numeric and numarray?

2007-04-04 Thread Christopher Barker
#x27;import numpy as nx; nx.something' +1 > Where possible when cleaning a given module for numerix, we should > standardize the other imports. Eg, instead of 'from cbook import > iterable' we should do 'import matplotlib.cbook as cbook; > cbook.iterable

[matplotlib-devel] What is the OS-C egg built against?

2007-04-09 Thread Christopher Barker
hem in the 0.90.0 CHANGELOG, so it looks like they haven't made it into the distribution yet. darn. oh well, off to set things up to compile. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point

[matplotlib-devel] Is it possible to do a point release for wxAgg?

2007-04-11 Thread Christopher Barker
rth putting out a point release with these fixes? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main

Re: [matplotlib-devel] release?

2007-05-31 Thread Christopher Barker
like to see this issue put to bed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6

Re: [matplotlib-devel] release?

2007-05-31 Thread Christopher Barker
now. If you don't hear from me or Ken, then I guess you might as well release away! (though just turning off the accelerator build may be all we need to do) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice

Re: [matplotlib-devel] release?

2007-05-31 Thread Christopher Barker
libs, etc, if there is more than one version of wx on the system (like OS-X). I actually wrote some code to version check and find the right one, but I don't see the point with the changes Ken has made for 2.8 Pure Python is so much easier! -Chris -- Christopher Barker, Ph.D. Oceanogra

Re: [matplotlib-devel] release?

2007-06-01 Thread Christopher Barker
7;t over-written, as the accelerator isn't being built by default anymore. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-05 Thread Christopher Barker
Will this (whichever method is chosen) work for PDF too? Just wondering, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [matplotlib-devel] Memory leaks

2007-07-05 Thread Christopher Barker
ommitted a patch that a user had provided that kept the wx back-end from re-starting an event loop if there was one already running -- maybe that has something to do with this bug? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [matplotlib-devel] Memory leaks

2007-07-05 Thread Christopher Barker
do if the wxApp() has been deleted. In any case, you can only create one wxApp per program instance, and it can not be destroyed and re-started, so keeping a global instance around is probably the way to go. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&am

[matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Christopher Barker
r of Open Source Projects. -Chris PS: Google is remarkably unhelpful to me in figuring all this out. If anyone has useful references about the US Federal gov't developed and released software an the GPL -- please send me the links! -- Christopher Barker, Ph.D. Oceanographer Emergency Re

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Christopher Barker
cts), shows plenty of contributions > from people with .gov email addresses, Sure, contributing is no problem, it's the releasing of derived works that has me concerned. > Feel free to > contact me off-list if you've got any questions about how to track > down some potential

Re: [matplotlib-devel] numpification and imports

2007-07-13 Thread Christopher Barker
from the get go, like wxPython does: import wx wx.Whatever... I do wish that: >>> import matplotlib as mpl >>> import mpl.artist Traceback (most recent call last): File "", line 1, in ImportError: No module named mpl.artist worked. -Chris -- Christopher Bar

Re: [matplotlib-devel] Mathtext improvements

2007-07-16 Thread Christopher Barker
uff that way -- so it's scalable, and has fewer dependencies. Including the fonts required (STIX again -- maybe it will really happen eventually) Occasionally someone pops up with plan to make an embeddable TeX engine, which is what we really want--maybe some day. -Chris -- Christophe

Re: [matplotlib-devel] rcParams and validation

2007-07-17 Thread Christopher Barker
ch of stuff all at once for a 1.0 release, than to break things > incrementally with successive releases +1 -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

Re: [matplotlib-devel] mpl1 draft

2007-07-19 Thread Christopher Barker
for an enterprising developer to take a careful look > at the current Chaco and Kiva OK. I have to ask -- why aren't we all just using Chaco? I know I'm not because ??years ago, Enthought was not really supporting anything but Windows -- is that still true? Would it be a whole

Re: [matplotlib-devel] mpl1 draft

2007-07-20 Thread Christopher Barker
contribute the array-aware code, but I don't know if it would be accepted. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (20

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Christopher Barker
27;s so much better! take advantage of the advantages -- like namespaces. If you're anything like me, you may not be writing big programs, but even quickie scripts are edited and re-edited a lot -- a little extra typing makes little difference. -Chris -- Christopher Barker, Ph.D. Oceanogr

Re: [matplotlib-devel] mpl1 draft

2007-07-20 Thread Christopher Barker
How important is it that people can actually improve MPL without contributing those improvements back? Isn't that what BSD allows that LGPL doesn't? By the way, isn't wxPython modified LGPL? We have a wx back-end. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Christopher Barker
h expressions. Not bad, really, much better than including all 491. Inf NaN abs angle arccos arccosh arcsin arcsinh arctan arctan2 arctanh cos cosh exp log log10 pi sign sin sinc sinh sqrt square tan tanh > I'm guessing a function sqrt(-1.) which returns 1j is out of the question? what's

Re: [matplotlib-devel] mpl1 draft

2007-07-20 Thread Christopher Barker
> On Jul 19, 2007, at 12:18 PM, John Hunter wrote: >> I also plan to use the SWIG agg wrapper Where can I find that? I did some googling, and no luck. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 76

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Christopher Barker
examples are still written using "import *". However, I have seen a real shift on the numpy list over the last year (or two), toward using the namespace. Paul Kienzle wrote: > On Fri, Jul 20, 2007 at 12:34:44PM -0700, Christopher Barker wrote: >> Out of 491 names in the numpy

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Christopher Barker
e you're proposing a standard set of math names that will be brought in to modules for the matplotlib project itself. Different issue. I don't write enough MPL internal code to have any opinion on that. Does anyone else think this is a good idea? -Chris -- Christopher

Re: [matplotlib-devel] mpl.math namespace [was: Polygon examples broken]

2007-07-21 Thread Christopher Barker
wrote: > For many of these things there are up to 5 different possible sources: > > (builtin, if not math or cmath) > math > cmath > numpy > numpy.ma > maskedarray I'd argue that for MPL, math and cmath are rarely needed, and we hope that soon there will only be

Re: [matplotlib-devel] cxx improvements

2007-08-09 Thread Christopher Barker
so that's another option -- but talk about dependencies! And there's SIP, but I've never heard of it being used by anything other than PyQT -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sa

Re: [matplotlib-devel] cxx improvements

2007-08-09 Thread Christopher Barker
o write our own fork of it, which I doubt! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [matplotlib-devel] cxx improvements

2007-08-09 Thread Christopher Barker
t auto code generation. Period. Of course, that doesn't apply to far smaller libraries. And many of the hand-written wrappers I've seen are nightmares of incorrect reference counting. I think hand-wrapping is a just plain bad idea, not when you have ctypes and pyrex and Boost (and CX

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Christopher Barker
of a namespace fan to advocate for that. What happens when numpy adds a name that clashes with an mlab name, for instance? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 76

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Christopher Barker
gt; but mlab should be its own nice, clean set of functions. +1 -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-

Re: [matplotlib-devel] mlab: please check

2007-08-12 Thread Christopher Barker
Fernando Perez wrote: > On 8/12/07, Eric Firing <[EMAIL PROTECTED]> wrote: >> mlab.py in svn has now been changed quite a bit: > But if I may make a small comment, in my view MPL should simply not > contain any numerics, period (beyond that needed for plotting > functions). For the most part,m I

Re: [matplotlib-devel] mathtext in wx widgets

2007-08-30 Thread Christopher Barker
th MPL is the code? Could it just be it's own module? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [matplotlib-devel] [Matplotlib-users] anyone using gd and paint backends?

2007-09-07 Thread Christopher Barker
from the Agg buffer without using C extensions). You're right -- I don't think that's an issue. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle,

Re: [matplotlib-devel] python-2.3 support

2007-09-21 Thread Christopher Barker
y need generator > comprehensions -- in the examples you highlighted I think they were > used for syntactic convenience, though admittedly in some cases syntax > conveniences are compelling. Sure they are, but wouldn't list comprehensions be just as good? at least in those cases. -Chr

Re: [matplotlib-devel] Inches?

2007-10-29 Thread Christopher Barker
r stuff anyway. -- just thinking in email.... -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-05 Thread Christopher Barker
ixport/frameworks Maybe they would be a good set to use as a standard recommendation for folks building/using MPL on OS-X. I think the Freetype and UnixImageIO Frameworks would cover it for MPL. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [matplotlib-devel] internal enthought.traits package: a progress report

2007-11-07 Thread Christopher Barker
(is there anything like recipes for py2exe?) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Christopher Barker
-- can you compress the bitmap data to pass it to the Xserver? is that happening already? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

  1   2   >