python - matplotlib not generating PS output -


I have installed the maplibtib and using the ipython I have changed the backend to "ps" because other backend works Irenot

Now when I <1>: [[1]] in plots ([1,2,3], [4,5,6]) outside [1] : [& Lt; Matplotlib lines 2D 0x23dc110 & gt;] [2]: show ()

There is no output. I mean that the '.ps' file should be generated correctly? (Please correct me if I am wrong) but my PWD does not have such a file

Show () will display the image on the command screen, rather it will output it to a file in its working directory. Since you have specified that 'ps' is your backend, nothing will be shown and nothing will be saved. Instead try seiffe ("foo.ps") or even saving ("af") , because your default is a ps, you specify the extension There is no need to do It will automatically output as a .ps

Comments