
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "examples/vectors/plot_paleoglaciers_arctic.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        :ref:`Go to the end <sphx_glr_download_examples_vectors_plot_paleoglaciers_arctic.py>`
        to download the full example code.

.. rst-class:: sphx-glr-example-title

.. _sphx_glr_examples_vectors_plot_paleoglaciers_arctic.py:


Arctic paleoglaciers
====================

Plot Batchelor et al. (2019) arctic paleoglaciers as a standalone vector map,
using a north polar stereographic coordinate system (https://epsg.io/3995).

.. GENERATED FROM PYTHON SOURCE LINES 12-35



.. image-sg:: /examples/vectors/images/sphx_glr_plot_paleoglaciers_arctic_001.png
   :alt: Last Glacial Maximum (Batchelor et al., 2019)
   :srcset: /examples/vectors/images/sphx_glr_plot_paleoglaciers_arctic_001.png
   :class: sphx-glr-single-img


.. rst-class:: sphx-glr-script-out

 .. code-block:: none

    downloading https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_land.zip...
    downloading https://osf.io/gzkwc/download...
    downloading https://osf.io/xm6tu/download...
    downloading https://osf.io/9bjwn/download...
    downloading https://osf.io/9yhdv/download...






|

.. code-block:: Python


    import matplotlib.pyplot as plt
    import hyoga

    # plot natural earth land
    gdf = hyoga.open.natural_earth('land', scale='50m').to_crs('epsg:3995')
    ax = gdf.plot(color='0.9')

    # plot paleoglaciers
    gdf = hyoga.open.paleoglaciers('bat19').to_crs('epsg:3995')
    ax = gdf.plot(ax=ax, alpha=0.75)

    # set axes properties
    ax.set_title('Last Glacial Maximum (Batchelor et al., 2019)')
    ax.xaxis.set_visible(False)
    ax.yaxis.set_visible(False)

    # reasonable axes limits
    ax.set_xlim(-7.2e6, 7.2e6)
    ax.set_ylim(-4.8e6, 4.8e6)

    # show
    plt.show()


.. rst-class:: sphx-glr-timing

   **Total running time of the script:** (0 minutes 4.340 seconds)


.. _sphx_glr_download_examples_vectors_plot_paleoglaciers_arctic.py:

.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-example

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download Jupyter notebook: plot_paleoglaciers_arctic.ipynb <plot_paleoglaciers_arctic.ipynb>`

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download Python source code: plot_paleoglaciers_arctic.py <plot_paleoglaciers_arctic.py>`

    .. container:: sphx-glr-download sphx-glr-download-zip

      :download:`Download zipped: plot_paleoglaciers_arctic.zip <plot_paleoglaciers_arctic.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
