Dear matplotlib users,
I'm having trouble using Basemap through the object oriented interface
of Matplotlib. All the examples on the website use pyplot. But that does
not work if plots are generated in a parallel environment, i.e., in a
web application, since pyplot is obviously not thread safe.
Stupid me! I overlooked parameter 'ax' of class Basemap. You can pass an
axis when creating a Basemap instance:
ax = fig.add_axes([0., 0., 1., 1.])
map = Basemap(, ax=ax)
Best,
Remo
On 03/19/2014 04:41 PM, Remo Goetschi wrote:
> Dear matplotlib users,
>
> I'm havi
Hi Föhn,
By default, the pyplot interface (recall that it is a Matlab-like state
machine) does not release a figure's memory. You need to do this by hand
by calling the clf() method after every plot you make:
...
plt.close()
plt.clf()
Stackoverflow contains a few threads about the subject.
Bes
Dear all,
It seems that installing basemap through
pip install basemap --allow-external basemap --allow-unverified basemap
fails with Matplotlib 1.4, both on Python 2.7 and 3.4. This used to work
without problems.
I attached the Python 2.7 and 3.4 tracebacks below.
Does anybody have an idea on how
rading other packages the same way?
>
> Could you try a fresh virtual environment, perhaps?
>
> Ben Root
>
>
> On Sat, Aug 30, 2014 at 8:48 AM, Remo Goetschi <mailto:s...@libecciu.ch>> wrote:
>
> Dear all,
>
> It seems that installing basemap throug