On Jan 9, 2008 10:14 AM, Dan Karipides [EMAIL PROTECTED] wrote:
OS: Fedora Core 8
Video Card: Nvidia GeForce 8800 Ultra
Driver: Latest Unix driver from Nvidia (169.07, release date: Dec 20, 2007)
Matplotlib version: matplotlib-0.91.2.tar.gz (built from source)
Backend chosen: qt4agg
Hi
On Jan 9, 2008 1:32 PM, Dan Karipides [EMAIL PROTECTED] wrote:
Thanks John.
I did this test:
python simple_plot.py -dTkAgg
and it worked just fine. (The GTK backend won't compile for me, but that is
a topic for another email.)
So you are correct, it seems to be a qt4 problem or
Migrating to the new matplotlib codebase
Michael Droettboom has spent the last several months working on the
transforms branch of matplotlib, in which he rewrote from the ground
up the transformation infrastructure in matplotlib, which many found
We have uploaded source and binary releases of matplotlib-0.91.2 to
http://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474release_id=566411.
Thanks to Charlie Moad for doing the release.
This is a bugfix release and includes several important fixes listed
below.
2008-01-06
On Jan 7, 2008 1:43 PM, Rich Shepard [EMAIL PROTECTED] wrote:
On Mon, 7 Jan 2008, Darren Dale wrote:
you can call hold(True) so each call to plot() adds a new curve to the axes.
Darren,
Excellent! Where is this documented, please? I did not see it when I
looked in the docs.
The
On Jan 7, 2008 2:15 PM, Jeff Whitaker [EMAIL PROTECTED] wrote:
I think namespace packages were being used before, but were removed. I
don't remember why.
We removed the namespace packages support because we were using it
improperly. To do it correctly would require moving all of the
On Jan 5, 2008 2:15 PM, Alan G Isaac [EMAIL PROTECTED] wrote:
It appears from the documentation that
``prop`` for a legend is the same as
``fontproperties`` for a label.
If true, perhaps legend should accept
``fontproperties`` and perhaps slowly
deprecate prop?
Yes they are the same thing,
On Jan 4, 2008 7:32 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
You can also set a custom formatter for each axis without hacking the
matplotlib code::
def custom_formatter(value):
return str(value)
gca().fmt_xdata = custom_formatter
gca().fmt_ydata = custom_formatter
On Dec 26, 2007 1:15 PM, Tony Mannucci [EMAIL PROTECTED] wrote:
I tried to install basemap 0.9.8 on an OS X system (PPC, 10.4.10),
after installing matplotlib from the latest binary package (0.91.1).
I receive the following error:
ImportError: No module named pkg_resources
It looks like you
On Dec 21, 2007 11:50 AM, John Hunter [EMAIL PROTECTED] wrote:
On Dec 20, 2007 9:22 PM, Gary Ruben [EMAIL PROTECTED] wrote:
Hi listees,
I often generate plots using the pylab interface plot() function to
overlay an imshow() image. The minimal script below demonstrates a
problem, which
On Dec 20, 2007 9:22 PM, Gary Ruben [EMAIL PROTECTED] wrote:
Hi listees,
I often generate plots using the pylab interface plot() function to
overlay an imshow() image. The minimal script below demonstrates a
problem, which may be a bug, or may be a deliberate change introduced
into mpl
On Dec 20, 2007 10:09 AM, [EMAIL PROTECTED] wrote:
I was not sure on which list to post this, but perhaps someone here
can point me in the right direction. I maintain a few installers of
scientific python packages for OSX, one of which being matplotlib. I
generate mpkg installers with
On Dec 18, 2007 9:00 PM, Bryan Fodness [EMAIL PROTECTED] wrote:
I would like to draw a polygon using a x1, x2, y1, and y2.
At a minimum, x1, x2, y1, and y2 define a line segment, or at most a
rectangle. You say a polygon. What exactly do you mean, and what
have you tried (code please)?
JDH
On Dec 18, 2007 9:47 PM, Bryan Fodness [EMAIL PROTECTED] wrote:
I do want a rectangle. And, I have tried,
axvline(x=x1, ymin=y1, ymax=y2)
axvline(x=x2, ymin=y1, ymax=y2)
axhline(y=y1, xmin=x1, xmax=x2)
axhline(y=y2, xmin=x1, xmax=x2)
You can either use the plot function fill
In [1]: xs
On Dec 12, 2007 1:29 PM, Mark Bakker [EMAIL PROTECTED] wrote:
It seems that in the latest version (0.9.1) the location of the images, such
as home.ppm, has moved to a new directory.
It used to be in ...\mpl-data and now it is in ...\mpl-data\images
This totally breaks my code, as I use my
On Dec 11, 2007 6:00 AM, Emmanuel [EMAIL PROTECTED] wrote:
Hi,
I've a little problem with date conversion. I have a csv file which looks
like :
Data,Valor
15/01/2007, 6,700012000
12/01/2007, 6,659903000
11/01/2007, 6,701586000
I try to get date using function strpdate2num in load doing
On Dec 11, 2007 8:17 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
I believe this is a known bug with 0.90.1. Are you able to run 0.91.1?
If I am reading this right, according to the svn log, you fixed this in
r4633 | mdboom | 2007-12-05 14:28:28 -0600 (Wed, 05 Dec 2007) | 2 lines
Fix
On Dec 7, 2007 10:38 AM, adamski246 [EMAIL PROTECTED] wrote:
Does anyone know of (or has examples of) Matplotlib applications controlled
by a GUI or must I return to my Java roots where I can easily solve all GUI
problems but do not have access to a powerful maths library such as
Matplotlib.
On Dec 11, 2007 1:01 PM, Ryan Krauss [EMAIL PROTECTED] wrote:
I am trying to help a student get started with
Python/Scipy/Numpy/Matplotlib in windows. On one of his machines,
everything seems to install correctly, we can call figure(1) without a
problem, and plotting is fine until we try the
On Dec 10, 2007 11:53 AM, Venkat Ramanan [EMAIL PROTECTED] wrote:
If anyone faces a similar issue, there is a solution here.
http://scipy.org/Cookbook/Matplotlib/Interactive_Plotting
Essentially, we should also check for toolbar.mode
You may also want to look at the widget lock variable,
On Dec 6, 2007 5:40 AM, Andrew Jaffe [EMAIL PROTECTED] wrote:
Hi All,
I've been compiling svn versions of matplotlib on OSX for quite a while
with no (or few...) problems.
On upgrading to leopard on my mac pro, I've run into the
error messages below.
External libs are from fink. There
On Dec 5, 2007 6:38 AM, Søren Nielsen [EMAIL PROTECTED] wrote:
Hi,
Is it possible to expand the colorcycle that matplotlib uses by default?
in axes.py, class _process_plot_var_args, def _clear_color_cycle(self) It
seems that self.colors are hardcoded to be self.colors =
On Dec 5, 2007 8:58 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
Mmmm... I was just wondering whether compiling the new 0.91.1 version might
make the problem go away? I am currently running 0.90.1.
Unlikely, we haven't changed anything in that code. One thing you can
do, it is fairly labor
On Dec 2, 2007 1:04 AM, Brian Orr [EMAIL PROTECTED] wrote:
Hi All,
I'm running into the following error when I try to run any of the matplotlib
examples:
$ python anim.py
Traceback (most recent call last):
File anim.py, line 19, in module
import pylab as p
File
On Dec 1, 2007 7:47 PM, hjc520070 [EMAIL PROTECTED] wrote:
The following run well . But I just want to make the image, with the x and y
as axis and z as the image value ,show on the figure. In the pylab , we can
just give a command imshow ,But here , I fail to do it , I have try
ax.imshow()
On Dec 5, 2007 12:36 PM, Barry Wark [EMAIL PROTECTED] wrote:
Chris,
I appologize for cryptic language and quickly written emails leading
you astray. I've included the diff of backend_cocoaagg.py (which has
also been sent to the mpl devs) which seems to work for me.
I committed in r4571,
On Dec 5, 2007 9:13 PM, Adam Mercer [EMAIL PROTECTED] wrote:
ImportError: No module named pkg_resources
Am I missing a required module?
Looks like you need setuptools
http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install
On Dec 4, 2007 8:23 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
PS and Agg work fast enough, and produce meaningful PS and PNG output files
(as well as popping up a window with the plot)
Wait a minute, if you are getting a plot window when you pass -dPS or
-dAgg, something very odd is
On Dec 4, 2007 3:30 AM, Lars Friedrich [EMAIL PROTECTED] wrote:
Hello,
in my matplotlibrc, I use 'backend : WXAgg'. This works fine, since I
use a wxPython shell as an interactive shell with pylab. However,
'WXAgg' is not in the list of possible backends given in matplotlibrc.
Is it save
On Dec 4, 2007 4:50 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
Thanks for your reply. I think it might well be a fonts problem. Here's the
test script, plus a comment where the big delay happens:
% cat test.py
from pylab import *
plot([1,2,3])
show()
Two more tests. WIll you set the
On Dec 4, 2007 9:19 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
On Tuesday 04 December 2007 15:13:21 you wrote:
OK, the delay comes before draw which is an important piece of
information. What happens if you run these two scripts. Do you get
the delay?
# script 1 (no plot)
from
On Dec 4, 2007 10:00 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
Interestingly enough, the embedding_in_gtk.py script works perfectly (takes
less than a second to run), so I am not able to reproduce the slowness!
Hmm, the plot thickens. How about embedding_in_gtk2.py -- this add the toolbar
On Dec 4, 2007 9:39 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
On Tuesday 04 December 2007 15:31:04 John Hunter wrote:
What about these scripts
# just make a figure
from pylab import *
figure()
Takes a long time.
OK, it is in the gtk figure creation code. Get the matplotlib
On Dec 4, 2007 8:14 AM, Charlie Moad [EMAIL PROTECTED] wrote:
I have posted fresh win32 eggs and exe's on SF. I explicitly removed
the inclusion of msvcp from distutils in numpy. Please give them a
try and let me know if you have any more problems. Note: I just
posted the files so it might
On Dec 3, 2007 10:08 AM, Chris Fonnesbeck [EMAIL PROTECTED] wrote:
On Dec 3, 2007 10:58 AM, John Hunter [EMAIL PROTECTED] wrote:
On Dec 2, 2007 9:23 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote:
Running a recent build from svn on OSX 10.5, the TkAgg interface
becomes unresponsive after
On Dec 3, 2007 5:53 PM, John Hunter [EMAIL PROTECTED] wrote:
On Dec 3, 2007 5:49 PM, John Hunter [EMAIL PROTECTED] wrote:
Charlie, I don't know how you handled this last time, but is there
something in setuptools you have to disable for this build?
Well, here's a clue: matplotlib/__init__
On Dec 3, 2007 5:49 PM, John Hunter [EMAIL PROTECTED] wrote:
Charlie, I don't know how you handled this last time, but is there
something in setuptools you have to disable for this build?
Well, here's a clue: matplotlib/__init__.py does not exist in this instal
JDH
On Dec 3, 2007 5:44 PM, Charlie Moad [EMAIL PROTECTED] wrote:
I gave it a try, and I did not get this error.
I am seeing the problem on python2.5 using the binary exe installer.
It appears we are getting fouled up by setuptools special handling of
the __init__.py file, which is supposed to be
On Dec 3, 2007 10:13 AM, John Hunter [EMAIL PROTECTED] wrote:
Sorry for the confusion, I was still on the *old* problem of tkagg
hanging w/ hist, and was wondering if it was hanging with other plot
commands too. Not that you can easily test now w/ the active tcl
install.
Chris, if you get
On Dec 3, 2007 7:50 AM, Jaonary Rabarisoa [EMAIL PROTECTED] wrote:
Hi all,
I'm relatively new to matplotlib and what I'll ask to you seems to be simple
but I just can't figure out how to do this. I'd like to change the origin of
my coordinate system to the upper left of my axis when I plot
On Dec 3, 2007 9:08 AM, José Gómez-Dans [EMAIL PROTECTED] wrote:
Hi,
I have compiled v.0.90.1 on RHEL 5. By default, the GTKAgg backend is being
used (TkAgg cannot be set, as TkInter is not installed on the system, I
think. It throws a NO Module named Tkinter error).
At any rate, a test
On Nov 27, 2007 12:10 PM, J.D. Herron [EMAIL PROTECTED] wrote:
Hello,
I'm using boost python to run python embedded in a C++ application on
windows. I would like to be able to have the scripts that run in this
embedded environment be able to display matplotlib plots. I have searched
in
On Nov 25, 2007 10:24 PM, Jeremy Conlin [EMAIL PROTECTED] wrote:
Thanks for posting these instructions. Forgive me if this has already been
hashed out in previous emails, but do the instructions for iPython resolve
the readline issues in Leopard?
I thought this was a problem that affected the
On Nov 26, 2007 7:30 AM, Mihail [EMAIL PROTECTED] wrote:
Somewhere I found some hints how to get started writing a new backend for
matplotlib. It
mentioned some almost empty kind of template that you could extend for your
needs.
I cannot find this description again. Would somebody help,
On Nov 24, 2007 8:46 PM, Michael Frauens [EMAIL PROTECTED] wrote:
Wasn't sure where to post this so I'll keep it brief (and I have tried to
check forums, FAQ and guides)
I'm a relative noob but have a Tk based GUI running properly and have used
Matplotlib successfully in two separate
A couple of weeks ago I got a new powerbook and installed leopard on
it, and decided to keep fairly detailed notes of the process of
getting developer svn versions of some of the scientific python tools
installed (matplotlib, ipython, numpy, scipy aka MINS). The notes
will probably apply equally
On Nov 23, 2007 2:00 PM, Mark Bakker [EMAIL PROTECTED] wrote:
Arnar -
I presume you are using Tk.
This is a known bug under Tk, that is apparently difficult to solve.
John Hunter looked into it a year back or so, but couldn't find help
from Tk experts that may know the solution.
Oddly
On Nov 16, 2007 10:03 AM, Xavier Gnata [EMAIL PROTECTED] wrote:
/usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self)
286 sz = self.get_size()
287 #print 'sz', sz
-- 288 numrows, numcols = sz
289 if self.origin ==
s
On Nov 15, 2007 10:42 PM, C M [EMAIL PROTECTED] wrote:
sorry, the last email did not get the pic attached. retrying, and text
recopied below:
--
Using Python 2.5, wxPython 2.8.4.2 (msw-unicode) matplotlib 0.90.1
on winXP. I have two
On Nov 16, 2007 2:54 PM, Mark Bakker [EMAIL PROTECTED] wrote:
Erik -
You write that adding a 'save' is difficult.
I can see it is involved, but don't quite see how it is specifically
difficult.
The way I see it, every item that is added to a figure needs a method
to write itself to a file.
On Nov 15, 2007 7:47 AM, Christian Meesters [EMAIL PROTECTED] wrote:
Hi,
Sorry, if this has been brought up before, but I missed a while reading
the list.
When I updated my system lately, I also installed the current version of
mpl (0.90.1) and that gave me a DeprecationWarning that I
On Nov 14, 2007 11:31 AM, Day, Michael A. AMRDEC/SimTech
[EMAIL PROTECTED] wrote:
Sample of what I'm trying to do:
--
import matplotlib
matplotlib.use('Wx')
Is it possible for you to use WXAgg -- this is the recommended backend
for wx users. The only advantage of
On Nov 9, 2007 1:08 PM, Don Peterson [EMAIL PROTECTED] wrote:
Note: I had been using the Enthought edition of python (2.4.3 version of
python) and matplotlib and everything worked great. I then tried to
install the map addition to matplotlib and the installation failed. After
that, I started
On Nov 9, 2007 8:45 AM, Darren Dale [EMAIL PROTECTED] wrote:
I think it has not been resolved. I am not so familiar with the mpl's color
handling code, and I need to turn to official business for the rest of the
day. John or Eric, do you have time to look into this? The string 'None' is
On Nov 8, 2007 7:48 PM, sunzen w. [EMAIL PROTECTED] wrote:
Mike,
Thank you for your suggestion.
I found that pan mode doesn't work as expected in page of notebook.
The sample code is attached.
Thanks for your further guidance in advance.
Now that is a well focused question. A little
On Nov 9, 2007 12:37 PM, John Hunter [EMAIL PROTECTED] wrote:
On Nov 8, 2007 7:48 PM, sunzen w. [EMAIL PROTECTED] wrote:
Mike,
Thank you for your suggestion.
I found that pan mode doesn't work as expected in page of notebook.
The sample code is attached.
Thanks for your further guidance
On Nov 8, 2007 7:10 AM, James Jackson [EMAIL PROTECTED] wrote:
Hi,
I have written a module which implements a custom histogram class,
with the plotting handled by a call to ax.plot(x, y, ...). The x and
y values are massaged to create a conventional histogram binned look,
for example:
On Nov 7, 2007 7:17 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
Michael I'm not sure what you mean by can't work on my canvas. Can you
Michael provide a small code sample that shows it not working?
Sunzen,
Here is a reference example in which the x and y constrained panning
do work in my
On Nov 6, 2007 7:10 PM, Himanshu Grover [EMAIL PROTECTED] wrote:
Hi,
I am new user of matplotlib, and am trying to attach different
labels to different lines of a stem-plot. Can someone help me figure
how to attach such labels and be able to see them in the plot ?
With the exception of
On 10/31/07, Mark Bakker [EMAIL PROTECTED] wrote:
This works fine, as apparantly colors='r' is interpreted as a sequence.
This does not work, however:
ax.add_collection( LineCollection( [[(0,0),(1,1)]], colors='r', linewidths=2
) )
draw()
Now I get an error: TypeError: CXX: type error.
On 10/21/07, nitriles [EMAIL PROTECTED] wrote:
Hey, Ive got 10 strings of data that i plot into 1 big window, but somehow
matplotlib gives me a very strange set-up. I am rather new to matplotlib and
python so im kinda stuck now!
heres an image of what i get and part of my code:
On 10/18/07, Jordan Atlas [EMAIL PROTECTED] wrote:
Hello,
I'm having some trouble figuring out how to format the numerical
labels on the tick marks of an axes. For example, in the plot linked
below, I'd like the y-axis to display using scientific notation, and I'd
like to control the
On 10/18/07, Manuel Metz [EMAIL PROTECTED] wrote:
It seems that the keywords facecolor (or color) and alpha can not be
used simultaniously when using scatter:
import pylab
x = pylab.npy.arange(0,10)
pylab.scatter(x,x, s=50, alpha=0.5)
pylab.scatter(x,x+0.5, facecolor='blue', s=50,
On 10/18/07, John Hunter [EMAIL PROTECTED] wrote:
You should use the c argument for scatter -- this controls the facecolor.
scatter(x,x+0.5, c='blue', s=50, alpha=0.5)
This is a bit of an anachronism from matlab compatibility.
This is now fixed in svn, so you can use facecolor as well
On 10/11/07, Ryan Krauss [EMAIL PROTECTED] wrote:
Can this be changed? Is there a better approach I should take in
getting my students started using scipy and pylab together?
Yes, this was left in initially for backward compatibility but I think
we should strive for maximal numpy
On 10/11/07, Charles Seaton [EMAIL PROTECTED] wrote:
Any suggestions on how to get either matplotlib.dates.datestr2num or
dateutil.parser.parse to properly handle timezone information in the
datestring would be greatly appreciated.
Not sure how to answer this question vis-a-vid
On 10/11/07, Alexander Schmolck [EMAIL PROTECTED] wrote:
Hi,
I'm using matplotlib in a C++ app (with a qt4 gui), by embedding python with
boost::python. The C++ app calls Py_Initialize(), init_myplottingmodule(), and
boost::python::import(matplotlib.pylab) once on startup and certain GUI
On 10/5/07, James Boyle [EMAIL PROTECTED] wrote:
I wish to plot 3 lines on a single graph - each line requires a
separate y scaling but shares a common x.
The case for 2 such lines is handled by twinx as in the two_scales.py
example.
I have not found an example of 3 lines ( or greater). In
On 10/4/07, Chris [EMAIL PROTECTED] wrote:
Is there a way of forcing them to install? I dont mind going in and
deleting things by hand myself, but I am trying to have a build that
installs for almost everyone with minimum tinkering.
Yes, just edit setup.py and remove the conditional checks
On 10/1/07, Iacopo [EMAIL PROTECTED] wrote:
Hi everybody,
I tried:
import pylab
pylab.plot([a, b, c], [1, 2, 3])
ValueError: invalid literal for float(): a
Well, I expected that. I wrote this to just explain my trouble: printing
strings instead float along x-axes (a sort of mapping
On 9/27/07, Charles Seaton [EMAIL PROTECTED] wrote:
I am having the same problem as Eugen, and the suggested solution of using
a.xaxis.get_major_locator().refresh()
to force the creation of the full set of ticklabels doesn't seem to work for
me.
matplotlib creates a prototypical tick (the
On 9/24/07, C M [EMAIL PROTECTED] wrote:
I'm having problems building matplotlib on windows from a folder from SVN,
and haven't done it
before (previously had used the prebuilt binary download). I don't know
what I am doing wrong.
Read the header of setupext.py, particularly the part for
On 9/21/07, Yo mismo Hotmail [EMAIL PROTECTED] wrote:
Dear John,
First of all, thanks for your response. When I try this
fig = figure()
fig.canvas.manager.window.move(100,400)
python tells me that window has no attribute move. It's strange because I
can choose many differents attributes
On 9/20/07, Ryan Krauss [EMAIL PROTECTED] wrote:
which also gets rid of my bottom x axis and leaves tick marks along
the top (see attached). How do I get rid of the top tick marks, keep
the bottom ones, and get the bottom x-axis back?
I think this is what you are looking for:
from pylab
On 9/20/07, Ryan Krauss [EMAIL PROTECTED] wrote:
I would need to create a timeline for a Latex document (eps output).
There may be other tools besides Matplotlib and I am open to
suggestions. But I were going to use mpl, what would it take to do
something along these lines:
On 9/20/07, Matthias Michler [EMAIL PROTECTED] wrote:
Hello developers,
I'm sorry for reposting again. I really would like to have this feature in
mpl.
Please let me know if there is anything I can do to change my proposal to make
it match with matplotlib.
Committed to svn revision 3867 --
On 9/19/07, Cizhong Jiang [EMAIL PROTECTED] wrote:
I have a long ylabel that is displayed in two lines. Thus, the ylabel
overlaps with yticklabels. Does anyone know how to control the space between
ylabel and yticklabel? Thank you very much.
On 9/11/07, Jose Gomez-Dans [EMAIL PROTECTED] wrote:
Hi Patrick,
Thanks for your message!
On 9/10/07, Patrick Bradley [EMAIL PROTECTED] wrote:
lg = legend()
lg.get_frame().set_fill(False)
Mmmm, this is OK, let's say I wanted a figure with a transparent
background. I can't find a
On 9/7/07, Matthieu Brucher [EMAIL PROTECTED] wrote:
Thank you for the fast answer :)
That should be what I asked for. Won't the other subplots be erased ?
Only if this subplots overlap -- in this case they do not. When a
previous subplot is overlapped by a new subplot, the old one is
On 9/7/07, Matthieu Brucher [EMAIL PROTECTED] wrote:
That means too that having a plot on 2/3 of the screen is not possible, I
suppose ?
To do that you need to use the axes command (a subplot is just a
special case of an axes on a regular grid). For example, you could do
(the arguments are
On 9/4/07, Brendan Barnwell [EMAIL PROTECTED] wrote:
Incidentally, is there a reason why matplotlib can't just handle
datetime
objects itself? The requirement of having to manually convert them to an
ad-hoc
matplotlib format (which is just an integer) seems rather obtuse.
It can
On 8/31/07, Romain Bignon [EMAIL PROTECTED] wrote:
Hello,
I want to get pixels position of a Text object on my imagine, but there isn't
any methods of this class to get them.
How can I do ?
You can use the t.get_window_extent() method of the text object, with
the caveat that this
only works
On 8/28/07, Romain Bignon [EMAIL PROTECTED] wrote:
Hello,
I create an histogram with matplotlib and I want to get positions of each
rectangles, to create links on a HTML page.
Andrew Dalke has a tutorial on this at
On 8/28/07, Tom Haddon [EMAIL PROTECTED] wrote:
fig.savefig(OUTPUTFILE)
savefig has it's own DPI ( so screen resolution and print resolution
can differ). So set the figsize in the Figure init method as before,
and then psas dpi to savefig
fig.savefig(blah, dpi=300)
JDH
On 8/27/07, Matt Fago [EMAIL PROTECTED] wrote:
I'm elated to have found matplotlib after struggling with octave and
gnuplot.
There is one thing that I think matplotlib could improve on (or that I
cannot find)
-- quick plotting a la gnuplot:
plot file.txt using 1:2 with lp
For
On 8/25/07, Deen Sethanandha [EMAIL PROTECTED] wrote:
Could someone help me figure out how I can move the x lebel to match
the bar chart?
When using rotated ticks, if you do not set the horizontal alignment
to 'right' they will look misaligned, as in your example. Recent
versions of mpl have a
On 8/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've written a script that animates but I can't update the x axis. I've
tried to scale up the bounding box but I run in to trouble with lazy vaues
which I don't understand.
Here are some snippits of
On 8/24/07, Christopher Barker [EMAIL PROTECTED] wrote:
This may not be what it seems. The native coordinate system for
PostScript is in points, which are 1/72 if an inch, so it's common to
force that as a dpi. Postscript supports fractional (is it floating
point or fixed -- I'm not sure)
On 8/23/07, Alex Pounds [EMAIL PROTECTED] wrote:
On Thu, August 23, 2007 5:33 pm, David Tremouilles wrote:
I would like to save a matplotlib figure (data, title and axes label,
plot properties, ...) to load it later on for modification. Something
like figure.savelall(file.matplot) and
On 8/22/07, Wolfgang Kerzendorf [EMAIL PROTECTED] wrote:
Is there any way I can stop the mainloop of the gtkagg backend. i know
there is a threads_leave thing but I neec the Tk object from matplotlib.
The problem is that my script doesnt continue after the window has been
closed
I am not
On 8/22/07, Angus McMorland [EMAIL PROTECTED] wrote:
I would like to use mpl_connect and disconnect to examine a series of 2d
arrays in turn (with a for loop), one after the other:
== at each iteration I'd like to be able to use the left mouse button
to evaluate the sum of all x,y
On 8/22/07, Tom Vaughan [EMAIL PROTECTED] wrote:
Why on the YellowDog 3 system would the x-axis show up as 0 - 2.5, and
on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I
am attempting to resolve an autoscale problem elsewhere, and I must of
screwed something up when I built
On 8/21/07, Torsten Hahn [EMAIL PROTECTED] wrote:
The problem is, that there only the major ticklines are returned by
ax.get_xticklines(). How do i access (and modify) the minor ticklines?
In [80]: for tick in ax.xaxis.get_major_ticks():
print tick.tick1line, tick.tick2line
:
On 8/6/07, Michael Droettboom [EMAIL PROTECTED] wrote:
from setupext import get_win32_compiler
if sys.platform == 'win32' and get_win32_compiler() == 'mingw32':
for module in ext_modules:
module.libraries.append(msvcrt)
That message in setupext.py:
NOTE, if
On 8/3/07, fred [EMAIL PROTECTED] wrote:
Is there any tarball for ml archives ?
You can search the user and developer archives here:
http://sourceforge.net/mail/?group_id=80706
Yes, but with probing keyword,
results are not relevant:
Could not fire up pylab in Japanese XP
I
On 8/2/07, william ratcliff [EMAIL PROTECTED] wrote:
Thanks again for all your work on this. I moved my old minGW and installed
MinGW-5.1.3, and was already running the others--except numpy, I have the
latest version from svn, which I compiled and built fine after building
atlas. I checked
On 8/1/07, william ratcliff [EMAIL PROTECTED] wrote:
from matplotlib.mathtext import math_parse_s_ft2font
File
c:\python25\Lib\site-packages\matplotlib\mathtext.py,
line 1182, in mo
dule
class Vlist(List):
File
c:\python25\Lib\site-packages\matplotlib\mathtext.py,
line 1189,
On 8/1/07, Michael Droettboom [EMAIL PROTECTED] wrote:
c:\python25\Lib\site-packages\matplotlib\mathtext.py,
line 1189, in Vli
st
def vpack(self, h=0., m='additional', l=float('inf')):
ValueError: invalid literal for float(): inf
I'm not opposed to importing mathtext on demand
On 7/31/07, william ratcliff [EMAIL PROTECTED] wrote:
I have a question about building from source on windows:
I have installed freetype2 and libpng, for zlib, I have a collection of
dlls,
But, where do I place these so that matplotlib can find them (for the
include files, libraries, etc.
On 7/22/07, JJ [EMAIL PROTECTED] wrote:
Hello all:
I am developing a website, initially on my local
machine using the apache httpd server. My linux box
has scipy/numpy/pylab installed, and they work fine
from a terminal. However, I need to use the programs
in a cgi script and am having
1001 - 1100 of 1385 matches
Mail list logo