Hi everyone!
I have a slow script which plots progress over time where I want to mute the plot-related text output from Atom.
As a MWE
julia> for i = 1:3
#slow code here
println(i)
display(plot(1:i))
end
1
Plot{Plots.GRBackend() n=1}
2
Plot{Plots.GRBackend() n=1}
3
Plot{Plots.GRBackend() n=1}
Is it possible to mute this text Plot{Plots.GRBackend() n=1}
? From a regular REPL I don’t get the additional output. I want the plot to stay attached to Atom and create a new plot for each iteration so that I can easily go back and look at results while running.
So far I have tried Suppressor.jl and also this:
redirect_stdout((()->display(plot(1:3))),open("/dev/null", "w"));
without any luck.