On Sat, Dec 29, 2012 at 10:38 PM, Anthony Rollett
roll...@andrew.cmu.edu wrote:
I had found it reasonably straightforward to install matplotlib on 10.6 (much
harder on 10.7 but that's a story that somebody more versed than I should
tell). I was stumped by trying to install basemap because I
On Mon, Nov 19, 2012 at 7:44 AM, Nelle Varoquaux
nelle.varoqu...@gmail.com wrote:
This is not the correct way to run the tests.
Then that explains it, thanks.
Does the same thing happen with the following command:
python -c import matplotlib; matplotlib.test()
No, all tests pass (or fail
Hi
When running the testsuite for matplotlib-1.2.0 i.e.
$ nosetests -exe matplotlib
I'm getting a lot of errors of the form:
==
ERROR: matplotlib.tests.test_dates.test_empty_date_with_year_formatter.test
On Fri, Oct 28, 2011 at 00:56, Sterling Smith smit...@fusion.gat.com wrote:
Here is a working example:
from pylab import figure, arange
fig = figure(1)
fig.clear()
ax = fig.add_subplot(111)
x = arange(0,1,.25)
y1 = x
y2 = x**2
y3 = x**3
l1 = ax.plot(x,y1,'bo-')
l2 =
Hi
I have recently updated to Matplotlib-1.1.0 and now one of my scripts
displays the following warning:
UserWarning: Legend does not support [[matplotlib.lines.Line2D object
at 0x1026296d0]]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
On Thu, Oct 27, 2011 at 12:05, Sterling Smith smit...@fusion.gat.com wrote:
Your example is not complete. I don't understand the value variable that you
are iterating over, or how it affects the different plots you are making.
value is simply a list of different datasets to plot, read in
Hi
On the homepage, http://matplotlib.sourceforge.net, matplotlib-1.0.0
is still being listed as the latest available version in the News
sidebar. Is there any reason why 1.0.1 is not listed here?
Cheers
Adam
--
Hi
In one of my codes I need to plot several time series from different
files, the files are of the form
20100118 10
20100119 12
20100120 14
20100121 16
20100126 18
20100221 25
20100222 25
20100227 26
20100228 30
I use something like the following to plot these:
morning =
On Sun, Jan 9, 2011 at 13:04, Benjamin Root ben.r...@ou.edu wrote:
You have run into a peculiar numpy bug that I have reported several months
ago. Essentially, np.loadtxt() does a squeeze() on the data right before
returning it. Therefore, if there is only one line, the array returned is a
On Thu, May 21, 2009 at 18:06, Andrew Straw straw...@astraw.com wrote:
If there's a port of uscan for MacPorts (
http://manpages.debian.net/cgi-bin/man.cgi?query=uscan ) you could
simply use the debian watch file. It's contents are:
version=3
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
the site docs
On Mon, May 18, 2009 at 07:56, John Hunter jdh2...@gmail.com wrote:
I have uploaded the source and OSX binaries for the bugfix release of
matplotlib-0.98.5.3 to
http://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194
The homepage is saying that the latest release is
On Sun, Feb 22, 2009 at 16:59, Wai Yip Tung tungwai...@yahoo.com wrote:
I find that Matplotlib only have Python 2.5 build for Windows. Is there
any plan to release a 2.6 build soon? I am trying to build it from source
but I run into numerous problem. I am still struggling to find all
Anyone?
Cheers
Adam
On Sat, Jan 17, 2009 at 17:19, Adam Mercer ramer...@gmail.com wrote:
Hi
I'm trying to track down an issue with the CocoaAgg backend on Mac OS
X using MacPorts, when run with the CocoaAgg backend the following
code:
from pylab import *
import time
ion()
tstart
On Wed, Jan 21, 2009 at 21:09, John Hunter jdh2...@gmail.com wrote:
This looks like a simple bug in which FigureCanvasBase is not
imported. Try replacing line 31 in
matplotlib/backends/backend_cocoaagg.py with this::
from matplotlib.backend_bases import FigureManagerBase,
Hi
I'm trying to track down an issue with the CocoaAgg backend on Mac OS
X using MacPorts, when run with the CocoaAgg backend the following
code:
from pylab import *
import time
ion()
tstart = time.time()
x = arange(0,2*pi,0.01)
line, = plot(x,sin(x))
for i in arange(1,200):
Hi
I've noticed that one of my codes is failing with the following
backtrace since updating to 0.98.5.1:
Traceback (most recent call last):
File ./plot_data.py, line 153, in module
fig.savefig(plot_file)
File /opt/local/lib/python2.5/site-packages/matplotlib/figure.py,
line 990, in
On Fri, Dec 26, 2008 at 13:54, John Hunter jdh2...@gmail.com wrote:
Could you please post a complete, free-standing example? Also, you
might want to test against 98.5.2 which has been released with some
legend fixes.
Thanks John, updating to 0.98.5.2 fixes the problem.
Cheers
Adam
Hi
Has matplotlib-0.98.2 been officially released? The reason I'm asking
is that the web page still states that 0.98.1 is the release and the
0.98.2 tar ball is under the 0.98.1 release on the sourceforge
download page?
Cheers
Adam
On Wed, Jun 25, 2008 at 8:44 AM, John Hunter [EMAIL PROTECTED] wrote:
I think I have this fixed in svn
Just downloaded 0.98.2 and the code that failed in 0.98.1 works! Thanks!
Cheers
Adam
-
Check out the new
On Fri, Jun 27, 2008 at 12:03 PM, Charlie Moad [EMAIL PROTECTED] wrote:
You'll need to edit setupext.py to not inject the -framework Tcl -framework
Tk flags.
Thanks Charlie, that does the trick.
Cheers
Adam
-
Check out
Hi
I'm trying to track down a problem present in MacPorts Matplotlib
build and the TkAgg backend. It appears that Matplotlib is linking
against the system Tcl/Tk in /System/Library/Frameworks and not the
non-framework Tcl/Tk installed by MacPorts, as to be expected this is
causing segfaults when
I think I have this fixed in svn -- also, I rewrote your example to
use csv2rec (which returns record arrays). Thought you might be
interested:
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import matplotlib.cbook as cbook
r1 =
On Tue, Jun 24, 2008 at 6:14 AM, Darren Dale [EMAIL PROTECTED] wrote:
Please, include a brief standalone script that demonstrates the problem when
reporting problems.
Sorry should have done that, I've attached an example script (and the
according data files) which exhibits the problem on
Hi
Anyone know how to fix this problem?
Cheers
Adam
On Thu, Jun 19, 2008 at 8:31 PM, Adam Mercer [EMAIL PROTECTED] wrote:
Hi
I have a plot that has two different y-axis scales and I want
appropriate tick marks for the different y-axes. ie I want the tick
marks on the left axis
Hi
Just upgraded to matplotlib-0.98.1, and a code that worked with 0.98.0
is now failing with the following error:
Traceback (most recent call last):
File ./plot_workout.py, line 126, in module
time_plot = time_axes.plot_date(times_dates, times, 'bo-')
File
Hi
I'm trying to produce a single plot containing two different datasets
that share the same x-axis but different y-axes, i.e. I would like one
y-axis to be on the left of the plot and the other on the right hand
side. I've looked for example that illustrates how to do this but have
been unable
Hi
I have a plot that has two different y-axis scales and I want
appropriate tick marks for the different y-axes. ie I want the tick
marks on the left axis to correspond to the scale on the left axis
etc... As far as I can tell the way to accomplish this, after
consulting the documentation, is to
Hi
Will basemap work with the newly released GEOS-3.0.0, or does it only
work with 2.2.3 for now?
Cheers
Adam
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
On Dec 23, 2007 7:40 PM, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: It only works with 2.2.3. I have not been able to make it work
with 3.0.0, so I don't know if it ever will.
Thanks for the clarification Jeff
Cheers
Adam
On Dec 7, 2007 9:09 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
You could try setting your backend to simply Agg to rule out some Tk
usage/installation problem as the culprit.
Thanks, the problem goes away if I use the Agg backend.
Cheers
Adam
On Dec 7, 2007 8:21 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
Can you also please attach your data -- or point to some acceptable data
online? What platform and backend are you using?
I've attached an example data file. I'm using the TKAgg backend on
Mac OS X Leopard.
Cheers
Adam
Hi
Since updating to 0.91.1 one of my scripts, attached, has stopped
working. I get the following error when trying to run it
$ ./plot.py data.dat plot.png
alloc: invalid block: 0x1c15fa4: 40 1 0
Abort trap
$
Any ideas what could be causing this?
Cheers
Adam
plot.py
Description: Binary
Hi
After updating to basemap-0.9.8 I'm getting the following error when
trying to import the basemap module on Intel Mac OS X Leopard using
Python-2.5.1 from MacPorts
Python 2.5.1 (r251:54863, Nov 22 2007, 18:02:58)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type help, copyright, credits or
On Dec 5, 2007 10:30 PM, John Hunter [EMAIL PROTECTED] wrote:
Looks like you need setuptools
http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install
Thanks John, installing setuptools did the trick.
Cheers
Adam
On 04/12/2007, pranal shah [EMAIL PROTECTED] wrote:
matplot lib users...
pls unsubscribe me
Visit the list page thats append to every mail to this list.
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Cheers
On 13/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: Same as with any other plot created with matplotlib. You can use
the 'figsize' keyword to pylab.figure in conjunction with the 'dpi'
keyword to pylab.savefig. For details see
Thanks, I was unsure whether or not is used the same
On 13/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: See the basemap examples directory - there's plenty of examples
there using pylab.colorbar.
Thanks, that was what I was after - the appropriate module and method.
Cheers
Adam
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: I assume your data is on a latitude-longitude grid? You've asked
for a mollweide projection centered on the Greenwich meridian. Your
data is not centered on Greenwich - but the error message is trying to
say that you can shift
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: I assume your data is on a latitude-longitude grid? You've asked
for a mollweide projection centered on the Greenwich meridian. Your
data is not centered on Greenwich - but the error message is trying to
say that you can shift
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
but I think you want
values, lon = basemap.shiftgrid(180, values, lon, start=False)
Thats it! Thanks a lot!
Cheers
Adam
-
This SF.net email is sponsored by: Splunk
On 10/10/2007, Pascoe, S (Stephen) [EMAIL PROTECTED] wrote:
Is there a general way of setting the origin somewhere other than the
lower-left corner?
I've just had to deal with a similar problem, you need to use the
basemap.shiftgrid() method to shift the co-ordinate grid accordingly.
Cheers
On 09/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote:
Adam: If you can convert your coordinates into latitudes and
longitudes, then you can plot the data with the basemap tookit on your
choice of map projection (see
http://www.scipy.org/Cookbook/Matplotlib/Maps for an example).
Following
Hi
I need to produce a line plot of some data against the date in ISO
format, i.e. the data is something like:
20060412 546
20060413 547
20060414 657
20060415 438
...
I've been looking at the examples and can't find anything appropriate.
As far as I can tell from the documentation I need to
On 13/09/2007, Alan G Isaac [EMAIL PROTECTED] wrote:
http://matplotlib.sourceforge.net/matplotlib.pylab.html#-plot_date
Thanks, that's helpful and has given me a push in the right direction.
I've got a rough code producing the plot I need - just need to clean
it up now.
Cheers
Adam
Hi
I'm trying to shade a couple of areas of a plot I'm creating, I need
to shade the area above one line and the area below another.
According to the documentation it looks like I need to use the fill()
method but I can't get it to work, the code I use for creating the
plot is below:
# import
On 14/07/07, John Hunter [EMAIL PROTECTED] wrote:
On 7/14/07, Adam Mercer [EMAIL PROTECTED] wrote:
I'm trying to shade a couple of areas of a plot I'm creating, I need
to shade the area above one line and the area below another.
According to the documentation it looks like I need to use
On 14/07/07, John Hunter [EMAIL PROTECTED] wrote:
OK, you'll probably need to give us a complete, free standing example
for us to debug this.
I've attached the complete code
./params.py --min-mass 4 --max-mass 100 --output test.png
Cheers
Adam
params.py
Description: Binary data
On 14/07/07, John Hunter [EMAIL PROTECTED] wrote:
OK, the problem with this code is fill expects the vertices of the
polygon you want filled and you are only providing the top part, not
the bottom. The modified version of your code fills between your line
and the bottom of zero
Thanks John,
49 matches
Mail list logo