Save Spyder console output containing figures

10,006

(Spyder maintainer here) You can save all console output to an Html file, by doing right click on it and selecting the option called Save as HTML/XML, as shown below:

context-menu

Share:
10,006
user4224870
Author by

user4224870

Updated on June 09, 2022

Comments

  • user4224870
    user4224870 about 2 years

    I have lots of plot results output in Spyder console. Is there any easy way to save these results in a big file such as pdf etc. Currently I have to manually copy each of the plot.

    Thanks.

  • Utkarsh Panwar
    Utkarsh Panwar almost 6 years
    Is there any python function to do this programatically?
  • innuendo
    innuendo almost 6 years
    @UtkarshPanwar have you managed to do it? I need to do the same as a python function.
  • Carlos Cordoba
    Carlos Cordoba almost 6 years
    @innuendo, there's no way to do this programatically, sorry.