Skip to content

Commit 93f1f76

Browse files
authored
fix mercator projection (#19)
1 parent 345e0a2 commit 93f1f76

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/starplot/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Star charts and maps"""
22

3-
__version__ = "0.2.0"
3+
__version__ = "0.2.1"
44

55
from .base import StarPlot # noqa: F401
66
from .zenith import ZenithPlot # noqa: F401

src/starplot/map.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def crs(projection, center_lon=-180):
3838
return {
3939
Projection.STEREO_NORTH: ccrs.NorthPolarStereo(center_lon),
4040
Projection.STEREO_SOUTH: ccrs.SouthPolarStereo(center_lon),
41-
Projection.MERCATOR: ccrs.PlateCarree(center_lon),
41+
Projection.MERCATOR: ccrs.Mercator(center_lon),
4242
}.get(projection)
4343

4444

tests/data/expected-mercator-base.png

-2.05 KB
Loading

0 commit comments

Comments
 (0)