Skip to content

Commit 9396613

Browse files
committed
Fix non-existent cartopy projection
- the correct name of the projection is Orthographic instead of Cartographic. - use standard import convention to make the line a bit shorter, see https://scitools.org.uk/cartopy/docs/latest/matplotlib/intro.html. - fix wrong API link for cartopy - add missing (lost) API link for 3d
1 parent 72d9a66 commit 9396613

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

cheatsheets.tex

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -519,17 +519,11 @@
519519
{\ttfamily \textbf{subplot}(…,projection=p)}
520520
\smallskip
521521
\scale{projection-polar.pdf}{p='polar'}{}
522-
\scale{projection-3d.pdf}{p='3d'}{}
523-
% {https://matplotlib.org/stable/api/projections_api.html}
524-
% {}
525-
% {}
526-
%% \plot{projection-3d.pdf}{p='3d'}
527-
%% {https://matplotlib.org/stable/api/toolkits/mplot3d.html}
528-
%% {}
529-
%% {}
530-
\plot{projection-cartopy.pdf}{p=Orthographic()}
531-
{https://matplotlib.org/stable/api/toolkits/mplot3d.html}
532-
{from cartopy.crs import Cartographic}
522+
\scale{projection-3d.pdf}
523+
{p='3d'\hfill\api{https://matplotlib.org/stable/api/toolkits/mplot3d.html}}{}
524+
\plot{projection-cartopy.pdf}{p=ccrs.Orthographic()}
525+
{https://scitools.org.uk/cartopy/docs/latest/reference/projections.html}
526+
{import cartopy.crs as ccrs}
533527
{}
534528
\end{myboxed}
535529
%

0 commit comments

Comments
 (0)