Comments (3)
That's explainable... Cartopy maps automatically change their extent based on the data added (just like regular matplotlib axes)... but coastlines don't count (otherwise every time you added coastlines the map would switch to being global.)
Try adding ax.set_global()
Now it might be explainable... but is it reasonable or desirable?
from cartopy.
That is reasonable; it is consistent with matplotlib.
from cartopy.
Thanks for pointing it out.
My next trick is to automatically do global if no data has been added to the plot. I think this is perfectly achievable and would make a lot more sense than the current behaviour!
Cheers.
from cartopy.
Related Issues (20)
- transform_vector is wrong / not linear for some projections HOT 3
- Python 3.12: Shapefile definition is incomplete but successfully downloaded HOT 4
- Expose PROJ parameter +gamma for Oblique Mercator HOT 4
- cartopy 0.22 + matplotlib 3.8 + contourf bug? HOT 4
- NaturalEarthFeature is hard-coded to PlateCarree() HOT 2
- Cartopy Install Fail HOT 3
- GOOGLE_MERCATOR representation very slow (offline mode) HOT 2
- Natural Earth: Include version in URL
- pcolormesh with colormaps having transparency produces a moire pattern for many projections HOT 7
- memory leak with Cartopy 0.22 and Matplotlib 3.8.2 HOT 5
- UN map is blank on latest docs HOT 3
- About Cartopy support Shapely version HOT 2
- Fails to build with Python 3.12 HOT 4
- Add type hints for mypy HOT 3
- pcolormesh with transparent colormap and Orthographic projection does not work HOT 6
- `cartopy 0.22.0** does not exist` for github actions? HOT 5
- cannot import name lgeos HOT 2
- Chart Server dependency HOT 1
- contourf fails with lat/lon coordinates and transform for Stereographic projection but works correctly with projection coordinates HOT 4
- WMTS cache capability in WMTSRasterSource HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cartopy.