added plt.ion() to python_init.py