show the plots in a jupyter notebook in a single line code example Example: how to enable matplotlib in notebook %matplotlib inline