New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SVG plots in OctaveMagic by default due to lack of Ghostscript on Windows Octave #4446
Conversation
I think the fix is reasonable... others thoughts? |
If this is a change that only applies to windows, I'd prefer it delineate itself as such (something like |
I agree with you... @blink1073 can you update the PR taking into account the @ivanov's comment? |
Done. |
Use SVG plots in OctaveMagic by default due to lack of Ghostscript on Windows Octave
thanks for your contribution! eventually, we'll be moving the octave magic out of ipython proper, but hope this little change helps your fellow windows users in the meantime. |
May I ask why? I am the author of oct2py. -----Original Message----- thanks for your contribution! eventually, we'll be moving the octave magic out of ipython proper, but hope this little change helps your fellow windows users in the meantime. |
The point of extensions is that it is possible to add functionality to IPython from code outside IPython. It doesn't make sense for IPython to be responsible for maintaining the language extensions (cython, R, and octave are all to be removed, only R has actually been taken up elsewhere thus far), nor does it make sense to bind the extensions to IPython's release cycle. |
Where will these language extensions be eventually? |
in their own respective projects (the R one was already moved to rpy2, for example). Follow #3803 for more on this. |
Roger, I will absorb octavemagic into oct2py following the rpy2 model. -----Original Message----- in their own respective projects (the R one was already moved to rpy2, for example). Follow #3803 for more on this. |
Thanks, Steven! |
Use SVG plots in OctaveMagic by default due to lack of Ghostscript on Windows Octave
Newer builds of Octave on Windows do not include Ghostscript, and do not support printing PNG files out of the box. I suggest making the default SVG files, which is supported.
As of now, a user would have to follow the instructions here to enable support for PNGs:
http://wiki.octave.org/Octave_for_Windows#Printing_.28installing_Ghostscript.29.