Skip to content
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

Default to SVG output in VSCode & Atom #519

Open
jebej opened this issue Feb 17, 2021 · 1 comment
Open

Default to SVG output in VSCode & Atom #519

jebej opened this issue Feb 17, 2021 · 1 comment

Comments

@jebej
Copy link

jebej commented Feb 17, 2021

Currently, svg output is disabled by default because it is really slow in IJulia, something I have tested for myself. However, displaying svgs in e.g. VSCode works well, and gives the user sharper plots as a result.

Could we switch the default in this package to display svg, and either have IJulia itself disable the svg output, or PyPlot detect that it is running within an IJulia kernel?

@jebej
Copy link
Author

jebej commented Feb 17, 2021

I see that 3 environment variables are defined within a notebook served by the python notebook server. Maybe we can check for their existence.

"JPY_INTERRUPT_EVENT" => "1444"
"IPY_INTERRUPT_EVENT" => "1444"
"JPY_PARENT_PID" => "1456"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant