import and show plt function on notebook code example Example: how to enable matplotlib in notebook %matplotlib inline