You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should ensure better compatibility with the Julia package
ecosystem. Now, if Gnuplot.jl is used in an environment capable of
showing multimedia content (IJulia, VS Code, Pluto), this will take
precedence over using gnuplot's built-in viewer. In the REPL, gnuplot
viewer is used by default.
In VS Code, for example, when the "Use Plot Pane" settings is enabled,
the plots show in that pane, but when it is disabled, gnuplot viewer
is automatically used.
For people who prefer to always use the gnuplot viewer, they can
achieve that by running:
popdisplay(Gnuplot.GnuplotDisplay())
pushdisplay(Gnuplot.GnuplotDisplay())
This ensures that the gnuplot display has the highest priority.
However, note that VSCode ensures that its VSCodeDisplay is always the
last and IJulia also ignores this.
On the other hand, to disable the gnuplot viewer, one can run:
Gnuplot.option.gpviewer = false
What was tested:
- [x] Plotting from REPL
- [x] VS Code
- [x] With Plot Pane enabled
- [x] With Plot Pane disabled
- [x] IJulia
- [x] Gnuplot.jl test suite
- [ ] DrySessions
- [x] Pluto
- [ ] Juno
- [ ] Weave.jl
0 commit comments