Skip to content
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

Add option to add background basemap to plots #566

Open
adehecq opened this issue Jun 12, 2024 · 1 comment
Open

Add option to add background basemap to plots #566

adehecq opened this issue Jun 12, 2024 · 1 comment
Labels
enhancement Feature improvement or request

Comments

@adehecq
Copy link
Member

adehecq commented Jun 12, 2024

Is your feature request related to a problem? Please describe.
It would be great when making a plot to easily have a basemap in the background. I think it would be easy to do with contextily.

Describe the solution you'd like
Something like:

rst = gu.Raster("my_raster.tif")
rst.plot(basemap="OpenStreetMap")
plt.show()

Describe alternatives you've considered
No alternative considered.

Additional context
None

@adehecq adehecq added the enhancement Feature improvement or request label Jun 12, 2024
@rhugonnet
Copy link
Contributor

Would be nice indeed. Here I refer to the plotting expertise of @friedrichknuth.
My guess is that, once we have the Xarray accessor, we will have access to plotting tools in the Xarray landscape that likely already support this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature improvement or request
Projects
None yet
Development

No branches or pull requests

2 participants