Matplotlib plot not showing in terminal ubuntu