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
julia>using Colors, Plots
julia> img =Gray.(rand(100,100));
julia>plot(img; xlims=(-1,1),ylims=(-1,1))
┌ Warning: You have set `PLOTS_DEFAULT_BACKEND=GR` but `Plots` is not loaded.
└ @ Plots ~/.julia/packages/Plots/UtVfv/src/backends.jl:149julia(89239,0x7fff9e80e380) malloc:***mach_vm_map(size=18446744073179414528) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
GKS: can't allocate memory
Julia has exited. Press Enter to start a new session.
Running in a REPL is fine though. Removing ylims argument prevents the crash.
The text was updated successfully, but these errors were encountered:
It doesn't crash in IJulia but the behaviour seems to have changed: before xlims and ylims would stretch an image to fit in the specified box, but now the image is cropped.
Running in a REPL is fine though. Removing
ylims
argument prevents the crash.The text was updated successfully, but these errors were encountered: