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
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
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
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
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
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
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
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
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)
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
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
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
-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
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
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
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
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 -
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
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
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
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
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
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
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
-
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
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
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
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
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
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
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
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
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
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.
> 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
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
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
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
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
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
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
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
. 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
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.
>
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
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
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
--------
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
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
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
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
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
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
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
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
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
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
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
. 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
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
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
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
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
#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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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-
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
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
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,
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
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
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
(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
-- 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 - 100 of 134 matches
Mail list logo