matplotlib in iPython
To start IPython with matplotlib support, use the –matplotlib switch.
ipython --matplotlib
You can also request a specific backend with
%matplotlib backend
where: