[Matplotlib-users] plot Africa only

2014-10-17 Thread Tommy Carstensen
Is it possible to tell matplotlib to only plot the African continent? http://tommycarstensen.com/python2_matplotlib_basemap_merc_bluemarble_hresolution.jpg I can do this in gnuplot, but I can't figure out how to do it with matplotlib/basemap. Thanks, Tommy ---

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Thomas Caswell > writes: > >> What OS and what branch are you using? >> >> Can you roll back to one commit before the most recent merge? >> https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy >> api. If that fixes it, please make a new issue on githu

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Jouni K . Seppänen
Thomas Caswell writes: > What OS and what branch are you using? > > Can you roll back to one commit before the most recent merge? > https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy > api. If that fixes it, please make a new issue on github reporting > the problem. I think th

Re: [Matplotlib-users] TkAgg problem: blank plot on MacOS

2014-10-17 Thread Russell Owen
On 10/15/14 3:19 PM, Russell Owen wrote: > I have a polar graph that works fine on linux but is blank on MacOS > 10.9. Here is a minimal working example (using the API because it is > part of a larger Tkinter application): > > #!/usr/bin/env python2 > import Tkinter > import matplotlib > from matpl

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
Please try with commit 7f71233d55683b1c1bda1b365b61f912f8a154df What version of numpy are you using, we only support 1.6+ Tom On Fri, Oct 17, 2014 at 1:35 PM, Nils Wagner wrote: > I am using > > commit 0f4a68d3b75ae5ef192b1c90d876e18ff9de86c5 > Merge: 7f71233 b279c15 > Author: Thomas A Caswell

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
What OS and what branch are you using? Can you roll back to one commit before the most recent merge? https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy api. If that fixes it, please make a new issue on github reporting the problem. Tom On Fri, Oct 17, 2014 at 12:42 PM, Nils

[Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Nils Wagner
Hi all, I cannot build matplotlib from git src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’: src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’ src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named ‘base’ error: command '/usr/bin/gcc' failed wit

Re: [Matplotlib-users] python3 and basemap bluemarble()

2014-10-17 Thread Werner
On 10/17/2014 13:27, Tommy Carstensen wrote: > To matplotlib-users, > > basemap bluemarble() requires PIL, which is not available for Python3. Have you tried using pillow? https://pypi.python.org/pypi/Pillow/2.6.1 It might just a drop in replacement, but that depends on how bluemarble uses PIL.

Re: [Matplotlib-users] python3 and basemap bluemarble()

2014-10-17 Thread Paul Hobson
Tom, I believe the "pillow" package is the actively maintained fork of PIL. Could be wrong on that though. -p On Fri, Oct 17, 2014 at 4:27 AM, Tommy Carstensen < tommy.carsten...@gmail.com> wrote: > To matplotlib-users, > > basemap bluemarble() requires PIL, which is not available for Python3. >

[Matplotlib-users] python3 and basemap bluemarble()

2014-10-17 Thread Tommy Carstensen
To matplotlib-users, basemap bluemarble() requires PIL, which is not available for Python3. What is the usual workaround, when using Python and wanting to do bluemarble()? Thanks, Tommy -- Comprehensive Server Monitoring

[Matplotlib-users] unable to run simpletest.py

2014-10-17 Thread Tommy Carstensen
To matplotlib-users, I ran the installation guide here on Mac OS: http://matplotlib.org/basemap/users/installing.html Except I did brew install geos and subsequently did: export DYLD_LIBRARY_PATH=/Users/tc9/homebrew/lib export GEOS_LIBRARY_PATH=/Users/tc9/homebrew/Cellar/geos/3.4.2 export GEOS_DI