Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed.


Panel
titleColorwhite
titleBGColor#2b619e
titleA complex layout

Jupyter Viewer
notebookUrlhttps://github.com/ecmwf/notebook-examples/blob/master/visualisation/tutorials/A_complex_layout.ipynb




Info

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

You can download this Jupyter notebook and temperature, geopotential, precipitation, precipitation type and satellite data from ECMWF github space.














































Warning

Links in this section are relative links on GitHub!

Here are relevant links for the same notebooks on Confluence:

Contours tutorial 2 - Shading

Contours tutorial 3 - Automatic shading

Symbols tutorial 1 - Introduction to Symbols plotting

Symbols tutorial 2 - Advanced Symbols plotting



Info

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

Code Block
languagepy
titleTo 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_maps")   
magics.plot(png, top_left, projection, temperature, t_cont, ..., symb_legend, top_right_text)