I am trying to migrate over to Python from Matlab and can\'t figure out how to get interactive(?) plotting working within the Spyder IDE. My test code is shown below. With
in my case, these were the default settings in spyder however it still didn't show the plot until I typed: %matplotlib inline
Not sure if this is helpful but thought of sharing here.
The run configuration should be set to Execute in current Python or IPython interpreter which by default allows for interactive plotting. If the interpreter is set to Execute in a new dedicated Python interpreter then Interact with the Python interpreter after execution must be selected.