Pyplot for Julia
This package was made by Steven G. Johnson and provides Python's famous matplotlib
library to Julia. If you have used matplotlib
, you will be familiar with its pyplot
module.
We learned about the Julia's Pycall package in the first chapter, and PyPlot makes use of the same package to make the call to the matplotlib plotting library directly from Julia. This call has very less (or no) overhead, and arrays are passed directly without making a copy.
Multimedia I/O
Only plaintext display is provided by the base Julia runtime. By loading external modules or by using graphical environments such as Jupyter
notebooks, rich multimedia output can be given. Julia has a standardized mechanism to display the rich multimedia outputs (images, audio, and video). This is provided by the following:
display(x)
is the richest multimedia display of the Julia objectArbitrary multimedia representations are done by overloading the
writemime
of user-defined typesBy subclassing a generic display type...