
"""
precipitation_blue_red_250
==================

| style = "precipitation_blue_red_250"

.. image:: /_static/styles/precipitation_blue_red_250.png
    :width: 400

| **magpye** has a list of predefined styles, that can be used to visualise your data.
| More options are available to customise your visualisation.

The data for this example can be downloaded from one of our repositories:   
`<https://get.ecmwf.int/repository/magpye/data/tp.grib>`_


"""

from magpye import GeoMap

map = GeoMap(area_name="europe")

map.contour_shaded("tp.grib", style="precipitation_blue_red_250")
map.gridlines(line_style="dash", labels=False)
map.coastlines()
map.legend()
map.save("precipitation_blue_red_250.png")

# sphinx_gallery_thumbnail_path = '_static/styles/precipitation_blue_red_250.png'

    