Customise coastlines

Jupyter Viewer for Confluence: An error occurred

Failed to fetch https://raw.githubusercontent.com/ecmwf/notebook-examples/master/visualisation/tutorials/Coastlines.ipynb. Status code: 429 TOO_MANY_REQUESTS 429: Too Many Requests For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).

Note that these examples are only skeletons to illustrate the functionality of Magics.


You can download this Jupyter notebook from the ECMWF github space.



Plotting in directly in Jupyter notebooks doesn't need output to be specified. Most of the time you will want an output.

To run this outside of Jupyter notebooks add this piece of code:
png = magics.output(
    output_formats = ['png'],
    output_name_first_page_number = "off",
    output_name = "my_png")
magics.plot(png, projection, coast)