run python script
I saved a portion of my command history as plot_script.py file.How to open the file?
While opening it asks for application to open the file.If file is opened as text file then while using run command there is a problem. %run (<file name>) is executed without any error but when I use show() it does show the plot in figure window. Why this is so?
Python-3.4.3 Additional-features-of-IPython 08-09 min 0-10 sec
Yes, you can open a .py file using any simple text editor. It should not cause any issues.
Please confirm that the code in your plot_script.py file is correct and is using a plot command to be able to see a plot after using show(). In case it is possible please use pastebin.com to add your code from plot_script.py and add the link here so that we can tell you the exact issue with your code.