I wrote the code above and it is showing my plot in the Ipython console. However, I want to inspect the plot i.e. be able to zoom in/out and have coordinates displayed when moving my cursor.
I know I can do this with executing the file from the location where it is saved. But is there a way to immediately show the plot in a new window when running my file in spyder?