Introduction to Legend customization

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


You can download this Jupyter notebook and precipitation, temperature, geopotential and satellite data from 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_legend")
magics.plot(png, projection, temperature, t_cont, coast, legend)