A separate pop-up window in Spyder displays figure and the settings to solve dynamic figure display

    When running the code in Spyder software, the figure is generally displayed in the Ipython console. As shown in the figure below, the figure is relatively small and cannot be operated. At the same time, the dynamic figure display cannot be performed in the Ipython console. At this time, you need to set a separate pop-up window to solve it.


    The steps to set a separate pop-up window in the Spyder software are: Tools-->Preferences-->Ipythonconsole-->Graphics-->Graphics backend--> Backend-->Set to Automatic, as shown in the figure. Finally, the Spyder software needs to be restarted again, and the setting effect cannot be achieved without restarting . In this way, a separate window can be displayed, and a dynamic figure display can be realized, such as the curve dynamic fitting effect as shown in the figure.

           

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324958390&siteId=291194637