Hi all,
Shocked by news of John Hunter's untimely severe health problems and now
death, I have been thinking about what we could do as a community to 1)
fuel matplotlib to further heights and 2) give everyone, but especially
John's family, some appreciation for how wide, and ongoing, his
John Hunter wrote:
On Mon, Feb 22, 2010 at 1:44 PM, Ben Axelrod baxel...@coroware.com
mailto:baxel...@coroware.com wrote:
I noticed that there are many modules in the current code base
that are not listed at:
http://matplotlib.sourceforge.net/modindex.html. I understand
Paweł Rumian wrote:
2010/1/14 Michael Droettboom md...@stsci.edu:
What backend are you using? Agg, Cairo and Wx all check out for me. The
examples you point to don't look like Agg output to me...
The examples were produced using savefig and PNG, but I've tried GTK
and Qt with Agg
Yagua Rovi wrote:
I use matplotlib since two days only. I have done some things pretty
good but I am now in front of a problem an I didn't found a solution
in the documentation.
I would like to draw the surface defined by the lists X, Y and the matrix Z.
I get to a nice graphical output with
Yagua Rovi wrote:
Hello Andrew,
For the same need as the previous message, I try to display in colour
a given surface based with on polar coordinates. Z = f (r, theta)
Can you show me which function I have to use?
I don't know what to do with polar (theta, r) function.
Is there an option
per freem wrote:
hi all,
i am a *huge fan* of matplotlib and use it for all plotting. one
feature that i would find extremely useful that i believe is missing
(but am very open to being corrected in case i overlooked something)
is a way to define the layout of complex subplots. by this i
Gael Varoquaux wrote:
On Sun, Jan 10, 2010 at 07:32:27AM -0800, Andrew Straw wrote:
This first is mplsizer, based on the wx layout model, and works live
(with a figure open in a GUI) as well as for saving to disk. See the
demo directory for, well, some demos. I haven't been using this too
per freem wrote:
Hi all,
I was hoping someone could point to an example of making inset
graphs, where a small graph appears inside of a large graph. For
example i want to make a line plot (using plot) and then embed a bar
graph (using bar) inside it. how can i do that?
Robert Kern wrote:
On 2009-09-14 13:49 PM, Gökhan Sever wrote:
On Mon, Sep 14, 2009 at 12:30 PM, jason-s...@creativetrax.com
mailto:jason-s...@creativetrax.com wrote:
I tried the following (most output text is deleted):
In [1]: ob1=[1,1,2,2,1,2,4,3,2,2,2,3,4,5,6,7,8,9,7,6,4,5,5]
Celil Rufat wrote:
I just installed matplotlib on Snow Leopard 10.6 with the Qt4 backend
(via macports). However, when I try one of the Qt4 examles:
python
/opt/local/share/py26-matplotlib/examples/user_interfaces/embedding_in_qt4.py
IOError: [Errno 4] Interrupted system call
Any ideas
Robert Kern wrote:
On 2009-11-12 12:05 PM, Andrew Straw wrote:
Celil Rufat wrote:
I just installed matplotlib on Snow Leopard 10.6 with the Qt4 backend
(via macports). However, when I try one of the Qt4 examles:
python
/opt/local/share/py26-matplotlib/examples/user_interfaces
Matthias Michler wrote:
Hello list,
I'm not an expert in axes3d, but in case the feature which Nicolas requested
is not possible in an easy manner up to now, I propose an additional kwarg
for axes3d.Axes3D.contour. Something like *offset*. If offset is None the
z-values of the contour
Ian Thomas wrote:
I've written some code to perform contouring on triangular grids. I
wrote the underlying C++ for a separate project, but as there has been
some interest on the mpl mailing lists for such functionality I've had
a go at wrapping it up as a python module so that it is available
Flávio Coelho has implemented Violin plots for MPL. Nice! He has a
question regarding its suitability for inclusion due to a dependency on
scipy for the gaussian_kde function.
http://pyinsci.blogspot.com/2009/09/violin-plot-with-matplotlib.html
Is there a place this could live in the MPL code
I am posting this for a friend of mine. Please respond to the email
address in the ad if you are interested.
-- Forwarded message --
From: *Ben Strauss* bstra...@climatecentral.org
mailto:bstra...@climatecentral.org
Date: Fri, Sep 11, 2009 at 4:56 PM
Subject: [job] top-flight
Dave wrote:
I resolved the issue by compiling matplotlib from source on my windows box
which I'm happy to report wasn't too difficult! It seems to work for my usual
interactive use however it segfaults when running the tests :|
http://pastebin.com/m5ee30885
Thanks for running this. To
Phil Austin wrote:
Andrew Straw wrote:
I use::
ffmpeg -r 60 -i frame%05d.png -vcodec wmv2 -b 2000k out.avi
That's encouraging, thanks. I tried this and produced
http://clouds.eos.ubc.ca/~phil/video/out.avi
Just to confirm: the two OSX users down the hall get a missing
I use::
ffmpeg -r 60 -i frame%05d.png -vcodec wmv2 -b 2000k out.avi
And this works well to generate movies that play on Windows, Mac and
Linux. As a bonus, these movies can be included in Latex/Beamer output
using the movies15 package and played within the PDF via Adobe Reader on
Mac and
jakobg wrote:
Hi there,
I want to place an eps graphic I created in Inkscape in a plot. The final
image is supposed to be a vector eps as well. I looked up the forum but just
found the option with the Image (PIL) library which obviously rasterizes my
vector image. And I use the Tex option so
Shixin Zeng wrote:
Hi,
Could someone tell me what's the best format that matplotlib can
produce for insertion to MS word?
You can try PyEMF. I don't know its status -- it might need some TLC.
http://pyemf.sourceforge.net/
Zane Selvans wrote:
Yep, looks like the trunk has fixed the contourf() issue.
Unfortunately there also seems to be some new incompatibility with the
Basemap toolkit, even after re-installing Basemap from source. I get:
AttributeError: Axes.frame was removed in favor of Axes.spines
It
John Hunter wrote:
On Thu, Jun 4, 2009 at 12:16 PM, Jae-Joon Leelee.j.j...@gmail.com wrote:
I hope the code below gives you some idea.
def Tc(Tf): return (5./9.)*(Tf-32)
ax1 = subplot(111) # y-axis in F
ax2 = twinx() # y-axis in C
def update_ax2(ax1):
y1, y2 = ax1.get_ylim()
Adam Mercer wrote:
On Wed, May 20, 2009 at 21:25, John Hunter jdh2...@gmail.com wrote:
The problem here is that I built the site docs from svn, not the last
release. 0.98.6svn is the version stamp from svn. I have mixed
feelings about fixing this. On the one hand, there is merit to having
John Hunter wrote:
On Sun, May 17, 2009 at 11:07 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote:
I think one possible solution would be to simply deprecate the support
for PIL image in imshow, and let users explicitly use array-interface
via asarray function.
Is there any other idea?
I'll
Tyler B wrote:
Hi there,
I am trying to run a python script on my computer at a regular
interval [in the background] to output an image file using
matplotlib. My problem is that every time the script runs, it
momentarily steals focus from whatever I'm working on -- which over
time gets to
Tyler B wrote:
I think that did it --- thanks Andrew!!
Just out of curiosity, what does 'Agg' refer to?
It's the low-level drawing library, anti-grain. You're bypassing the
loading of whatever other backend -- a low-level drawing system --
that matplotlib was loading before.
Also, I'm
Pellegrini Eric wrote:
Hello everybody,
I would like to create a plot from which I set the x data later. The
method set_xdata works but the corresponding plot displays the initial
x limits. Is it possible to update the plot automatically in order
that the displayed plot has x limits
jtamir wrote:
Andrew Straw wrote:
Does that file .h exist at that location?
Yes, __multiarray_api.h is in
~/lib/python2.5/site-packages/numpy/core/include/numpy/
I am installing with prefix set to home directory.
Andrew Straw wrote:
can you re-send the
output including the first
jtamir wrote:
Hi,
I am having trouble installing Basemap. I followed the directions in the
README file included in the archive (and posted at
http://matplotlib.sourceforge.net/basemap/doc/html/users/installing.html).
After successfully installing the GEOS library (also included), I cd to the
Lorenzo Di Gregorio wrote:
Hello,
I've tried to build matplotlib 0.98.5.2 for Python 2.6 under Windows
(Win2k) using MinGW and win32_static. After a few fixes, the
compilation and install appear to be ok, but I've got stuck at
importing matplotlib._path (see transcript below).
Any
Tobias Wood wrote:
Tobias,
I would like to apply your patch, but the test in
examples/tests/pngsuite fails. If you can submit a new patch where this
test passes, and, even better, if a small example 12-bit PNG of yours is
added to the test, I will apply it.
Apart from that, I would echo
Eric Firing wrote:
Tobias Wood wrote:
Hi everyone,
After getting fed severely fed up with Matlab in recent months I
downloaded Python, Numpy and Matplotlib to try out as an alternative. So
far I'm pleasantly impressed, even if building from source on Mac OS X
is an experience ;) However,
Romi Agar wrote:
Hi!
I'm having a bit difficulty getting matplotlib to run under windows
(vista x64) with python 2.6.
I downloaded the source from svn, ran the build and install commands,
Does that mean python setup.py install?
then copied the content of /build/lib.win32-2.6
to
Eric Firing wrote:
Thomas Robitaille wrote:
Hello,
I was wondering whether there is a way to rotate a grayscale/
colorscale when using imshow.
I have been using PGPLOT (a fortran/c plotting library) for many years
now, and the equivalent to imshow is called PGGRAY (or PGIMAG). One of
G. Allegri wrote:
Hi Andrew.
With dist(point_i,polynomial_curve) do you mean point_i belonging to
the Line 2 set of points and pol_curve as Line 1?
yes
In this case it
could be reasonably ok for me. How can I derive the closed form for
dist()? Excuse my ignorance with geometry
Take
G. Allegri wrote:
Hello list,
I'm completely new to matplotlib and I'm not a computer scientist (not
a good starting point!) but I need to solve a geometric/graphical
problem.
I've been asked to find a method, in Python, to find the distance
between a 2D polynomial curve, derived from least
Hi Sandro,
It's great news that a book may come out on MPL.
Speaking as an aspiring university professor in neuroscience, I would
like to see something that could be used as a resource for undergraduate
students just learning Python and MPL. Due to this perspective, I think
such a book would
Ryan May wrote:
Fago, Matt - AES wrote:
I cannot really compute the example without the pad_to support in svn.
Nevertheless, using something similar (nfft=128, noffset=64) gives similarly
erroneous results.
Did you add 'pad_to'? If so, thanks!
Good to know. I recently (within the last
I don't know fedora, but is there a numpy-dev package or something
similar? You'll need it to install numpy's header files.
Zainal Abidin wrote:
Hi All,
I have an error during basemap-0.9.9 installation
src/_geos.c:28:31: error: numpy/arrayobject.h: No such file or directory
and so on ..
Laurent Dufrechou wrote:
Hello,
I would like to have a cluttering functionality to colorbar.
http://en.wikipedia.org/wiki/Clutter_(radar)
Before writing it, I would like to know if there is a way to doing it
with matplotlib.
What I mean by cluttering is:
You’ve got
Mike, just a question about the new transforms backend -- can the input
dimensionality be greater than 2? (I realize functions to do so probably
don't currently exist, but the question is about the transforms
machinery itself.)
-Andrew
Michael Droettboom wrote:
I'm not very familiar with how
rex wrote:
Andrew Straw [EMAIL PROTECTED] [2008-06-05 09:42]:
For i386:
http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_i386.deb
For amd64:
http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_amd64.deb
For all arch:
http://debs.astraw.com/hardy/python-matplotlib
Johan Mazel wrote:
Hi
I can't find any deb package of matplotlib in the url that you gave
me. The sources are there but I'm not interested in the sources since
I can find them on the official website of matplotlib.
Is there any problem ?
Thanks for the answer by the way.
Johan mazel
They
I have .debs for Ubuntu Hardy available at http://debs.astraw.com/hardy/
. Note that these packages don't follow all Debian/Ubuntu guidelines and
are of lower quality than the official packages, which I recommend over
these. Nevertheless, I've packaged these things up for my personal and
my
Eric Firing wrote:
_backend_gdk.c and nxutils.c both call into the numpy C API; maybe some
c++ code does also. It is not entirely clear to me whether 1.1 is
sufficiently binary-compatible that this is safe.
The C API did not change (with the possible exception of additions). I'd
be
Andre, my guess is that there's an attempt made to connect to the
(non-existant) X server. You can disable this by forcing a backend that
doesn't need the X server. Try
import matplotlib
matplotlib.use('Agg')
before the rest of your script.
Andre Wong wrote:
Hi
I am attempting to generate
Hi Adeola,
OpenGL must be expecting a certain packing but your image data is
packed differently. You have (at least) two options: 1) alter your numpy
arrays to match the packing of OpenGL. This can be done by creating an
array with the appropriate .strides value. 2) alter OpenGL's idea of how
I came across this piece by Adam Hupp on programming.reddit.com just
now. It looks interesting:
http://hupp.org/adam/weblog/2007/09/03/etframes-applying-the-ideas-of-edward-tufte-to-matplotlib/
-
This SF.net email is
Thanks for tracking this down, Ben. Applied in svn as r3547.
Ben North wrote:
I've been using matplotlib for a little while and am finding it very
useful. Yesterday, though, I hit a problem:
-
This SF.net email is
Darren Dale wrote:
If we can figure out how to get it from numpy, we can use numpy's isnan as
well, and drop that bit of extension code from mpl's sources.
Done in r3512. Hurray for inclusion instead of code duplication. (I
originally copied that stuff from numarray, which inspired numpy's
Hi Tocer,
Thanks for the patch to matplotlib/__init__.py. I changed an obvious
issue ('.nil' to '.nib'), but otherwise committed it as-is. Can you (or
Werner, who was also having this issue) test the current svn version
(=3418) and report back?
Cheers!
Andrew
tocer wrote:
Hi, matplotlib
Can you convert your radial coordinates to Cartesian coordinates and use
approach #2 here:
http://scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
Lorenzo Isella wrote:
Hello,
Sorry for this tread getting quite long, but I am not getting there yet.
Online I found examples like:
signal seeker wrote:
Bill,
The problem is I am writing a bunch of diagonistic tools for users who
do not know anything about unix.
they just want to type a bunch of commands on a shell and see the plots
and they hardly know anything fancy like sending processes to the
background :)
I
Werner F. Bruhin wrote:
Hi Andrew,
Werner F. Bruhin wrote:
Hi Andrew,
Andrew Straw wrote:
Dear Werner,
This seems to be an unintended side-effect of reorganizing the mpl
data file location that I did prior to this release. (I.e. it's not
your code that broke, I think
Marek,
See the unicode_demo.py and the tex_unicode_demo.py in the examples
directory.
Marek Wojciechowski wrote:
Hi.
How can I get polish letters in, for example, plot title? Now I have empty
squares instead...
Thanks in advance for any help.
Dear Werner,
This seems to be an unintended side-effect of reorganizing the mpl data
file location that I did prior to this release. (I.e. it's not your code
that broke, I think it's mpl.) Unfortunately, since I didn't (and still
don't) use py2exe, it will be hard for me to fix this. Can you
[EMAIL PROTECTED] wrote:
Hi Alan,
I'm not speaking for anyone else, but as far as I'm concerned that
code is public domain.
OK, well, who wrote the code and who holds the copyright? In other
words, your concerns about the code being in the public domain may or
may not be relevant, depending
See pylab.figtext()
David D Clark wrote:
Hello,
I have a figure with four subplots (2x2). I would like to put a title
centered over the top row. How do I do this?
Thanks,
Dave
-
This SF.net email is sponsored by
It hasn't changed since rev 3131:
$ svn info __init__.py | grep 'Rev'
Revision: 3257
Last Changed Rev: 3131
Matthias Michler wrote:
Hi devolopers,
one small remark about the mpl svn. I recognized, that in the
file ./lib/matplotlib/__init__.py the actual revision is:
__revision__ =
The May/June issue of Computing in Science and Engineering
http://computer.org/cise: is out and has a Python theme. Many folks we
know and love from the community and mailing lists contribute to the
issue. Read articles by Paul Dubois and Travis Oliphant for free online.
(Off list...)
(Another g-mailer, huh? Soon they'll know everything about everyone...)
Thanks for that info re: online paper copies. I'm actually a week or two
away from submitting a follow-up paper from my SciPy '06 talk to them...
And submitting to a non-open-access journal was one issue. But
Andrew Straw wrote:
(Off list...)
Eek, well, not off-list! :)
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data
Joshua J. Kugler wrote:
Installing an egg today, I got this message from easy_install:
/usr/bin/easy_install:5: UserWarning: Module dateutil was already imported
from
/usr/lib/python2.4/site-packages/matplotlib-0.87.7-py2.4-linux-i686.egg/dateutil/__init__.pyc,
but
Dear Ryan, I think you want libwxgtk2.6-dev
Ryan Krauss wrote:
I am getting a message during a source install that WXAgg's
accelerator requires the wxPython headers. What do I need to do to
get them for Ubuntu? I think I have all wx packages installed? Do I
need to download the source
Bill, very cool. Also, thanks for showing me how Twisted can be used
like Pyro, more-or-less, I think. (If I understand your code from my 1
minute perusal.)
On Mac OS X, there's one issue I don't have time to follow any further:
sys.executable points to
set markerfacecolor (a.k.a. mfc) = 'None' (make sure you include the
quotes).
-Andrew
John T Whelan wrote:
Dear matplotlib gurus,
When I use
plot(t,x,'rx',t,y,'bs');
in matlab, it produces blue boxes for y, i.e., squares with a blue
border and a transparent interior, so that if one of
Dear Gary, _ns is the numpy backend. Do you have numpy installed? Is
it working? Are you compiling matplotlib from source? What version of
Ubuntu are you using (Dapper? Edgy?)
Gary Pajer wrote:
[sorry if this appears more than once. The list manager is timing out
when I try to change my
You may be encountering this bug:
http://code.astraw.com/debian_sarge_libc.html
John T Whelan wrote:
I just installed matplotlib 0.87.5 and numpy 1.0 from source on my
Debian sarge (stable release) system. (I chose those versions
because they're the ones currently included in the testing
I've been playing around with stereographic projections, and it appears
that the bounding-box for the 'stere' projection isn't computed. Being
blissfully unaware of all the complexities involved, I thought I'd send
this email to see if there's an easy way to deal with the situation.
Basically,
Jeff Whitaker wrote:
You should be able to make all those plots without too much difficulty -
just some trial and error in choosing the corners of the plot region.
If you are making a polar stereographic projection, you can use
projection='npstere' or 'spstere' and set the bounding
Darren Dale wrote:
Hi Andrew,
On Monday 10 July 2006 8:19 pm, Andrew Straw wrote:
Where should I start trying to debug an issue where Adobe Illustrator CS
for Windows is unable to open my EPS file generated by matplotlib? When
attempting to open the file, a a dialog pops up that says
71 matches
Mail list logo