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

Zooming in on world map very slow #160

Closed
warrickball opened this issue Jan 7, 2022 · 1 comment
Closed

Zooming in on world map very slow #160

warrickball opened this issue Jan 7, 2022 · 1 comment

Comments

@warrickball
Copy link

I'm trying to place markers on a simple world map and am finding the map takes a very long time (something like a minute) to zoom in on, say, Great Britain. This happens in both the Robinson or Mercator projections. Here's my simple example. Run this and try zooming on Great Britain:

import matplotlib.pyplot as pl
import cartopy

ax = pl.subplot(1, 1, 1, projection=cartopy.crs.Robinson())
ax.set_global()

ax.add_feature(cartopy.feature.OCEAN, zorder=0)
ax.add_feature(cartopy.feature.LAND, zorder=0, edgecolor='black')

pl.show()

I'm running Fedora 35 and installed geos 3.9.2 and proj 8.2.0 through the default repos. I have Python 3.10.1 and installed cartopy with python3 -m pip install cartopy --user, which has given me version 0.20.1. From my matplotlibrc, I think I'm using the TkAgg backend for matplotlib, which is version 3.5.1.

I'll keep experimenting to see if anything jumps out at me. This might be related to #92 but there wasn't any response there.

@warrickball
Copy link
Author

Well, this is embarrassing. I've opened an issue in the wrong project. Sorry!

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