Juno.jl icon indicating copy to clipboard operation
Juno.jl copied to clipboard

[BUG] Error in show for plots not shown in editor

Open baggepinnen opened this issue 4 years ago • 0 comments

When a plot fails to display from the editor, the error is not shown. Consider this code run in the terminal

julia> plot(-1:1, yscale=:log10)
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: DomainError with -1.0:
NaN result for non-NaN input.

it fails with an error because of negative values on a log plot. If the code is run in the editor instead... crickets.

baggepinnen avatar Mar 06 '20 12:03 baggepinnen