matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
775 stars 392 forks source link

save_background example not working (anymore?) #353

Open ImportanceOfBeingErnest opened 7 years ago

ImportanceOfBeingErnest commented 7 years ago

Trying to run the save_background.py example with basemap 1.0.7 and matplotlib 2.0 does not produce the expected two figures with the same background. Instead the second figure only has the parallels and meridians plotted, without the background.

figure2

WeatherGod commented 7 years ago

Not sure if this is a basemap issue or a matplotlib issue (leaning towards matplotlib, though). Could you double-check with basemap v1.1.0 (available from conda-forge)?

On Wed, May 17, 2017 at 1:56 PM, Importance of Being Ernest < notifications@github.com> wrote:

Trying to run the save_background.py https://github.com/matplotlib/basemap/blob/master/examples/save_background.py example with basemap 1.0.7 and matplotlib 2.0 does not produce the expected two figures with the same background. Instead the second figure only has the parallels and meridians plotted, without the background.

[image: figure2] https://cloud.githubusercontent.com/assets/23121882/26168559/cc840a3c-3b3a-11e7-89bd-58b4f101041d.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/matplotlib/basemap/issues/353, or mute the thread https://github.com/notifications/unsubscribe-auth/AARy-IfDL1LzBCArRl9W5c2tnqT6Qv7Gks5r6zTIgaJpZM4NeO1- .

ImportanceOfBeingErnest commented 7 years ago

I've tested with basemap v1.1.0 and matplotlib 2.0 and the issue is the same as in the post above.

So if you think it's a matplotlib issue, what could go wrong there?

WeatherGod commented 7 years ago

I finally got a moment to try this out myself. Indeed, this is broken.

Right now, my theory is that the draw isn't forcing everything to be drawn like it used to be. This might be the result of the (relatively) new stale mechanisms in matplotlib. I'll look a bit deeper.

On Fri, May 19, 2017 at 4:54 PM, Importance of Being Ernest < notifications@github.com> wrote:

I've tested with basemap v1.1.0 and matplotlib 2.0 and the issue is the same as in the post above.

Can nobody else reproduce this?

So if you think it's a matplotlib issue, what could go wrong there?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/matplotlib/basemap/issues/353#issuecomment-302808946, or mute the thread https://github.com/notifications/unsubscribe-auth/AARy-G71mOmyjVpO98ynZTnsJMiG3oX3ks5r7gGBgaJpZM4NeO1- .