I have been using Matlab / Octave for a long time and I am switching to NumPy / SciPy. I find that matplotlib is very similar to drawing a picture in Matlab, and it is easy to use.
But, one thing, Iβm not happy with matplotlib, when I draw a shape using plt.show(), then the process is stuck there, so I canβt enter new commands and not start another window to draw another shape before closing this window. For example, if we enter the following code, then before closing this window we cannot enter a new command and do not start another window for another chart.
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
This behavior is very different from the Matlab schedule. In Matlab interactive mode, we can have several curly windows.
Can we do the same in python interactive mode?
source
share