Interactive(?) plotting in Spyder with matplotlib

后端 未结 2 1076
挽巷
挽巷 2020-12-15 23:42

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

相关标签:
2条回答
  • 2020-12-16 00:19

    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.

    0 讨论(0)
  • 2020-12-16 00:33

    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.

    0 讨论(0)
提交回复
热议问题