Closed ShuhuaGao closed 2 years ago
Try running it in vs code as a .jl
file, it'll work fine.
Hi, thanks for the bug report.
This is related to a breakage in Crayons.jl (https://github.com/KristofferC/Crayons.jl/pull/60) and an outdated dependency in DataAugmentation.jl which I am fixing in a new release a right now. Until then, a temporary workaround that works on my machine is running the following before any show*
calls.
using Crayons; Crayons.COLORS[:nothing] = Crayons.COLORS[:default]
Try running it in vs code as a
.jl
file, it'll work fine.
Yes, it worked, though I feel Jupyter is more convenient.
Thanks for the reply @lorenzoh. The workaround indeed behaved well. I will leave this issue open until the next release for others' reference.
New version of DataAugmentation.jl is now released, and I am no longer getting the error, so closing this.
I run the following code in Data containers in a Jupyter notebook in VS code.
The
image
cannot be displayed properly with the error info below.Note that I can display a normal color matrix (i.e., an image) successfully like
rand(RGB{Colors.N0f8}, 3, 3)
.