Re: [matplotlib-devel] Upcoming Debian stable release and matplotlib new release(s)

2010-06-02 Thread Tom Holroyd (NIH/NIMH) [E]
John Hunter wrote: > > https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3 I'm running Fedora 13, and it mostly works but the config output says that Tkinter isn't there, but it is. It finds Qt4 OK, but seems to have trouble finding tkinter and agg. I just did the yum

Re: [matplotlib-devel] quick 'n dirty favorite

2010-02-22 Thread Tom Holroyd (NIH/NIMH) [E]
sweet! John Hunter wrote: > On Mon, Feb 22, 2010 at 11:00 AM, Tom Holroyd (NIH/NIMH) [E] > wrote: >> ok, this is how i do it >> pro'ly could make this better > > python -c "import pylab; pylab.plotfile('temp.dat', cols=(0,

Re: [matplotlib-devel] quick 'n dirty favorite

2010-02-22 Thread Tom Holroyd (NIH/NIMH) [E]
ok, this is how i do it pro'ly could make this better ./plot file.dat just does the first two columns needs smarts Tom Holroyd wrote: here's the old way cut and paste some numbers from a web page like the number of live births by year dump it in a file

[matplotlib-devel] quick 'n dirty favorite

2010-01-30 Thread Tom Holroyd
here's the old way cut and paste some numbers from a web page like the number of live births by year dump it in a file named moo run gnuplot and say plot '/tmp/moo' w l 3 boom default graph to show friends the thing is in t

Re: [matplotlib-devel] color mix

2008-09-23 Thread Tom Holroyd
Repost; the list bounced my last attempt. On Fri, 2008-09-19 at 18:42 -0400, Tom Holroyd wrote: > On Thu, 2008-09-18 at 20:40 +0200, Jouni K. Seppänen wrote: > > I would prefer something like the following options: > > > > fc={'orange': 20, 'white'

Re: [matplotlib-devel] moving to the transforms branch

2008-01-08 Thread Tom Holroyd
Sorry, I just don't like that word. And the "UR ..." was a lame reference to LOL Cats. :-) Sorry, sorry, I'll go away now. P.S. I love matplotlib. On Tue, 2008-01-08 at 22:53 +0100, Gael Varoquaux wrote: > On Tue, Jan 08, 2008 at 04:49:00PM -0500, Michael Droettboom wrote: > > I don't think "UR DO

Re: [matplotlib-devel] moving to the transforms branch

2008-01-08 Thread Tom Holroyd
UR DOIN IT WRONG http://en.wikipedia.org/wiki/Refactoring On Tue, 2008-01-08 at 10:48 -0800, John Hunter wrote: > To check out the trunk with the latest transforms refactoring: The word refactoring applies to cases of code cleanup and so on. Refactoring implies functional equivalence. Dr. Tom

[matplotlib-devel] grammar nanny

2007-12-26 Thread Tom Holroyd
On the what's new page, http://matplotlib.sourceforge.net/whats_new.html it says "expand it's coverage" but it should be "expand its coverage". Happy holidays. Dr. Tom -- My brother, when you have a virtue, and it is your own virtue, you have it in common with no one. Thus spoke Zarathustra.

Re: [matplotlib-devel] API change in transforms branch

2007-12-06 Thread Tom Holroyd
re autolayout; how does this affect gcf().subplots_adjust(hspace=1.), which is how I would make room (where hspace can be adjusted)? - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From t

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Tom Holroyd (NIH/NIMH) [E]
Just a bad example. I know there are functions that were originally defined in Matlab and then got rewritten in python, but I've never been clear on which modules they really live in. Ryan May wrote: > Tom Holroyd (NIH/NIMH) [E] wrote: >> Eric Firing wrote: >>> Simila

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Tom Holroyd (NIH/NIMH) [E]
Eric Firing wrote: > Similarly, after dealing with mlab, I would like to simplify pylab. > Right now, we have a horrible tangle of namespaces in pylab. Cleaning > this up will potentially break user code; if a numpy function formerly > could be referenced with three different names and we kno

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Tom Holroyd (NIH/NIMH) [E]
Are traits going to be a dependency that I have to download and install, or will all the traits stuff be bundled with mpl? -- Tom Holroyd, Ph.D. "The fundamentally misconceived nature versus nurture debate should be abandoned: child development is inextricably both." -- Louann

Re: [matplotlib-devel] Polygon examples broken

2007-07-23 Thread Tom Holroyd (NIH/NIMH) [E]
Paul Kienzle wrote: > Let me rephrase: Can we have a function sqrt(x) which returns real if x is > nonnegative, and complex if it is negative? Similarly for other math > functions > such as log which produce complex values for negative numbers? standard python is >>> import cmath >>> cmath.sqrt

Re: [matplotlib-devel] numpification and imports

2007-07-13 Thread Tom Holroyd (NIH/NIMH) [E]
Eric Firing wrote: > Tom Holroyd (NIH/NIMH) [E] wrote: >> >> Ted Drain wrote: >>> I think the basic idea is that if I want to use MPL, I should import >>> it and go and I should not have to import a sub-module out of MPL as >>> the main API. >> &

Re: [matplotlib-devel] numpification and imports

2007-07-13 Thread Tom Holroyd (NIH/NIMH) [E]
ut the relationship between matplotlib and pylab. -- Tom Holroyd, Ph.D. "The fundamentally misconceived nature versus nurture debate should be abandoned: child development is inextricably both." -- Louann Brizendine - T

Re: [matplotlib-devel] numpification and imports

2007-07-13 Thread Tom Holroyd (NIH/NIMH) [E]
John Hunter wrote: > from matplotlib import artist as mpl_artist > from matplotlib import agg as mpl_agg > from matplotlib import axis as mpl_axis > from matplotlib import cbook as mpl_cbook > from matplotlib import collections as mpl_collections > from matplotlib import colors as mpl_colors > fr

Re: [matplotlib-devel] release?

2007-05-31 Thread Tom Holroyd (NIH/NIMH) [E]
ion code. But I don't want to hold up the > release cycle with known bugs in the wild unless someone says, "wait I > just need a day or two". -- Tom Holroyd, Ph.D. "The fundamentally misconceived nature versus nurture debate should be abandoned: child

Re: [matplotlib-devel] corner artifacts

2007-05-23 Thread Tom Holroyd (NIH/NIMH) [E]
; > import numpy > > from pylab import figure, show > > t = numpy.arange(0.0, 1.0, 0.1) > s = numpy.ones(len(t), dtype=numpy.float_) > s[1::2] = 0. > > fig = figure() > ax = fig.add_subplot(111) > ax.plot(t, s, '-', lw=2) > ax.set_ylim(-.5, 1.5) >

Re: [matplotlib-devel] memory leaks

2007-03-30 Thread Tom Holroyd (NIH/NIMH) [E]
the way, and accounts for more leaks than other places) and it'll leak minimally. Does that mean this is a bug in gtk? -- Tom Holroyd, Ph.D. We experience the world not as it is, but as we expect it to be. - Take Su

Re: [matplotlib-devel] memory leaks

2007-03-28 Thread Tom Holroyd (NIH/NIMH) [E]
In fact, the following loop leaks: for i in range(indEnd): fig = pylab.figure() about 2k per on my box _even_ with toolbar set to None. With it set to toolbar2, it is very noticably slower, and leaks 120k per. -- Tom Holroyd, Ph.D. We experience the world not as it is, but as we expect it

Re: [matplotlib-devel] memory leaks

2007-03-28 Thread Tom Holroyd (NIH/NIMH) [E]
lot([1,2,3]) i += 1 if __name__ == '__main__': plot() I have matplotlib-0.90.0 installed, and this script doesn't leak for me. It grows a bit as shown in the graph, then stabilizes. I'm on FC4 with Python 2.4.3. -- Tom Holroyd, Ph.D. We experience the world not as it

[matplotlib-devel] better tick marks

2007-03-27 Thread Tom Holroyd (NIH/NIMH) [E]
with the pylab code. Perhaps someone could demonstrate the appropriate way? -- Tom Holroyd, Ph.D. We experience the world not as it is, but as we expect it to be. tics.py Description: application/python - Take Surveys. Earn