On Sat, Dec 29, 2012 at 10:38 PM, Anthony Rollett
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 took the easy
> way
On Mon, Nov 19, 2012 at 7:44 AM, Nelle Varoquaux
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 when they are ex
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 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 = ax.plot(x,y2,'go-')
> l3 = []
On Thu, Oct 27, 2011 at 12:05, Sterling Smith 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 using:
value = []
for v
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 [[]]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
The link it refers to doesn't seem to be much
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
--
Benefit
On Sun, Jan 9, 2011 at 13:04, Benjamin Root 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
> 1-d array ra
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 = numpy.loadtxt(morning_
On Fri, May 22, 2009 at 09:20, John Hunter wrote:
> Is there any reason you need to check the website, vs monitoring the
> announce list, or registering to be alerted from the sf site (there is
> a way to register to be alerted and I click the "alert all users
> monitoring this package" with each
On Thu, May 21, 2009 at 18:06, Andrew Straw 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
> http://sf.net/matplotlib/matplotlib-([0-9]+(?:\.[0-9]+)*)\.tar
On Wed, May 20, 2009 at 21:25, John Hunter 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 reflect the current
On Mon, May 18, 2009 at 07:56, John Hunter 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=80706&package_id=278194
The homepage is saying that the latest release is 0.98.6svn, can th
On Sun, Feb 22, 2009 at 16:59, Wai Yip Tung 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
> dependent packages. It wi
On Wed, Jan 21, 2009 at 21:09, John Hunter 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, FigureCanvasBase
>
> I've fi
Anyone?
Cheers
Adam
On Sat, Jan 17, 2009 at 17:19, Adam Mercer 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 *
> imp
On Sat, Jan 17, 2009 at 17:19, Adam Mercer 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:
Sorry, should have mentioned that this is with Matplotlib-0.98.5.2
us
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):
line.set_ydata(
On Fri, Dec 26, 2008 at 13:54, John Hunter 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
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
fig.savefig(plot_file)
File "/opt/local/lib/python2.5/site-packages/matplotlib/figure.py",
line 990, in savefig
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 SourceForg
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 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
-
Chec
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 t
> 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 = m
On Wed, Jun 25, 2008 at 7:21 AM, Darren Dale <[EMAIL PROTECTED]> wrote:
> I don't see a problem here. I did the following:
>
> ipython -pylab
> run two_scales.py
> ax1.yaxis.set_minor_locator(MultipleLocator(1000))
> draw()
> # Shows minor ticks on both left and right yaxis
> ax1.yaxis.tick_left(
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 0.
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
time_plot = time_axes.plot_date(times_dates, times, 'bo-')
File "/opt/local/lib/python2.5/site-pack
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
> mark
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
On Thu, Jun 19, 2008 at 7:07 PM, Darren Dale <[EMAIL PROTECTED]> wrote:
> You are looking for two_scales.py, it is distributed with matplotlib's
> collection of examples:
> http://matplotlib.sourceforge.net/matplotlib_examples_0.98.0.zip
Thanks Darren, thats exactly what I was after. I must of ov
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 to
On Thu, Jun 5, 2008 at 8:50 PM, John Hunter <[EMAIL PROTECTED]> wrote:
> On the svn trunk (0.98) there is a
> bug in the apple gcc compiler with our agg extension that causes a
> compiler error if the optimization level is -O3.
Has this been reported to Apple?
Cheers
Adam
-
On Sun, Dec 23, 2007 at 2:40 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> > Will basemap work with the newly released GEOS-3.0.0, or does it only
> > work with 2.2.3 for now?
>
> 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 w
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
--
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.
http://clk.a
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 data
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
---
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"
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
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 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 sam
Hi
Is there a way that I can add a colour bar to a basemap plot detailing
the value represented by each colour?
Cheers
Adam
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?
Hi
How can I set the size of the plot produced by basemap, as I need to
create a nice high resolution plot for a publication?
Cheers
Adam
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to
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.
Chee
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: Spl
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 shif
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 shif
Hi
I'm running into a problem using the mollweide projection, with the
following simplified code, my actual code doesn't use random data for
values but this is a clearer example to the problem I'm experiencing:
lon = numpy.arange(0, 361, 1)
lat = numpy.arange(-90, 91, 1)
x, y = numpy.meshgrid(lon
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).
Followi
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).
Thats j
Hi
I have some skymap data, i.e. theta, phi and some intensity that I
would like to plot on the surface of a sphere, does matplotlib support
plotting on the surface of a sphere? I've looked through the examples
and can't seem to find anything.
Any help would be greatly appreciated.
Cheers
Adam
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 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 rea
On 14/07/07, John Hunter <[EMAIL PROTECTED]> wrote:
> > Thanks John, that works great!
>
> You're welcome. If you are a svn user, I added a more efficient
> poly_between to matplotlib.mlab and updated the fill_between.py
> example, which shows filling below, above and between.
Thanks John, I'll
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
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:
> 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.
> >
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 req
On 14/11/06, Lev Givon <[EMAIL PROTECTED]> wrote:
> I am also using Apple's X11 1.1.2 / Xfree86 4.4.0. Has anyone had any
> success using the above Fink packages?
There is a font problem with X11 1.1.2, upgrade to X11 1.1.3 which was
released yesterday and you should be OK.
Cheers
Adam
---
62 matches
Mail list logo