Not sure, as I don't use basemap too often, but I bet calling:
m.drawmapboundary(fill_color='w')
before clabel would do the trick
Cheers, Jody
> On Dec 9, 2014, at 16:35 PM, Sappy85 wrote:
>
> Hi @all,
> the problem seems to be solved. Thanks Jody!
> What i have done:
>
> 1.) check out
The latest version of Matplotlib is supposed to be 1.4.2, yet after the
installation, when I checked the version, it came up 1.5.x.
Attached is the PKG-INFO I found in the source tree. Thanks.
PKG-INFO
Description: Binary data
--
Hi @all,
the problem seems to be solved. Thanks Jody!
What i have done:
1.) check out the xlim and ylim after clabel call
*xmin, xmax = plt.xlim() # return the current xlim
ymin, ymax = plt.ylim() # return the current ylim
print xmin,xmax
print ymin,ymax*
2.) use and set these limits before cl
Ah... That was not clear. I just retried my first example (with
show->savefig) for all of the backends that I have available: Qt4Agg,
TkAgg, PS, PDF, pgf, Cairo, GTK3Cairo, GTK3Agg. All of the *Agg backends
show the same problem: the other backends work as expected. I will file a
bug report now.
R
Interesting. Just to double-check, when you say that it only happens for
the "agg" backend, are you saying that backends like "tkagg" are
unaffected? I think at this point there is enough information here to file
a bug report.
Ben Root
On Mon, Dec 8, 2014 at 6:14 PM, Ryan Nelson wrote:
> Final