[BUG][UnicodePlotsBackend] showable
for image/png
and UnicodePlotsBackend
is unreliable
#4956
Labels
showable
for image/png
and UnicodePlotsBackend
is unreliable
#4956
Details
Displaying plots made by the
UnicodePlots
backend ofPlots.jl
throws an argument error in VS Code. The underlying cause is becauseshowable
forimage/png
andUnicodePlotsBackend
(always) returnstrue
, even whenUnicodePlots.save_image
has zero methods. The exact method call that (always) returns true:Defining the following
showable
method avoids this problem andPlots.jl
plots made with theUnicodePlotsBackend
display properly inline in the REPL.Backends
This bug is specific to UnicodePlotsBackend.
Versions
Plots.jl version:
Plots v1.40.4
Backend version:
UnicodePlots v3.6.4
Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: