-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
projection=gcrs.OSGB() sometimes creates a blank plot #248
Labels
Comments
That is some really weird behavior! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies if this turns out to be a cartopy issue (I'm not deeply familiar with cartopy), but after digging around, I can't find anyone else running into it.
I'm hitting two odd edge cases where setting
projection=gcrs.OSGB()
creates a blank plot, butAlbersEqualArea()
plots fine..dropna([11])
plots whenextent
is set but not when it's omitted.AlbersEqualArea()
plots fine withoutextent.
ax=
and tacking on the following KDEPlot creates a blank plot ifclip=uk_borders_partial
(Northern Ireland is dropped). Using the full GeoDataFrame or any subset of the full GeoDataFrame that does not drop Northern Ireland, e.g.uk_borders_full[5:12]
, plots exactly as expected. The code, with Ireland dropped, also plots as expected withAlbersEqualArea()
. Just not withOSGB()
.Would the latter be an issue with how
clip
gets passed to seaborn kdeplot?Thank you for your help, and for this beautiful library.
The text was updated successfully, but these errors were encountered: