Note that this example is only skeleton to illustrate the functionality of Magics.
You can download this Jupyter notebook from the ECMWF github space.
More about coastline plotting in coastline examples.
Plotting in directly in Jupyter notebooks doesn't need output to be specified. Most of the time you will want an output.
png = magics.output( output_formats = ['png'], output_name_first_page_number = "off", output_name = "my_png") magics.plot(png, projection, coast)