JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

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

Open baggepinnen opened 4 years ago

baggepinnen commented 4 years ago

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.