{
  "cells": [
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "collapsed": false
      },
      "outputs": [],
      "source": [
        "%matplotlib inline"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "\n# msl_spread_magenta\n\n| style = \"msl_spread_magenta\"\n\n<img src=\"file://_static/styles/msl_spread_magenta.png\" width=\"400\">\n\n| **magpye** has a list of predefined styles, that can be used to visualise your data.\n| More options are available to customise your visualisation.\n\nThe data for this example can be downloaded from one of our repositories:   \n`<https://get.ecmwf.int/repository/magpye/data/msl_es.grib>`_\n"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "collapsed": false
      },
      "outputs": [],
      "source": [
        "from magpye import GeoMap\n\nmap = GeoMap(area_name=\"europe\")\n\nmap.contour_shaded(\"msl_es.grib\", style=\"msl_spread_magenta\")\nmap.gridlines(line_style=\"dash\", labels=False)\nmap.coastlines()\nmap.legend()\nmap.save(\"msl_spread_magenta.png\")\n\n# sphinx_gallery_thumbnail_path = '_static/styles/msl_spread_magenta.png'"
      ]
    }
  ],
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "language_info": {
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "name": "python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.7.9"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 0
}