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

labels can obscure attribution #177

Open
martinfleis opened this issue May 2, 2021 · 0 comments
Open

labels can obscure attribution #177

martinfleis opened this issue May 2, 2021 · 0 comments

Comments

@martinfleis
Copy link
Member

If you use labels tiles on top, if there's a label in the bottom left corner it is actually above the attribution. That should not happen I guess.

import geopandas
import contextily as cx

df = geopandas.read_file(geopandas.datasets.get_path('nybb')).to_crs(3857)
ax = df.plot(figsize=(10, 10), alpha=0.5, edgecolor='k')
cx.add_basemap(ax, source=cx.providers.Stamen.Watercolor, zoom=12)
cx.add_basemap(ax, source=cx.providers.Stamen.TonerLabels, zoom=10)

Screenshot 2021-05-02 at 16 21 04

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

No branches or pull requests

1 participant