diff --git a/src/backends.jl b/src/backends.jl index 87f0014b..c72c80a2 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -936,6 +936,7 @@ const _unicodeplots_seriestype = [ :shape, :histogram2d, :heatmap, + :image, :spy, ] const _unicodeplots_style = [:auto, :solid] diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 5f9314d2..424aecb9 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -121,6 +121,8 @@ function addUnicodeSeries!( ) elseif st == :spy return UnicodePlots.spy(series[:z].surf; kw...) + elseif st == :image + return UnicodePlots.image(series[:z].surf; kw...) end series_kw = (;) diff --git a/src/examples.jl b/src/examples.jl index 0c56bce9..875d8fec 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -1286,7 +1286,6 @@ _backend_skips = Dict( :inspectdr => [4, 6, 10, 22, 24, 28, 30, 38, 43, 45, 47, 48, 49, 50, 51, 55, 56], :unicodeplots => [ 5, # limits issue - 6, # embedded images unsupported 16, # nested layout unsupported 21, # custom markers unsupported 22, # contours unsupported @@ -1302,7 +1301,7 @@ _backend_skips = Dict( 47, # mesh3D unsupported 49, # polar heatmap 50, # 3D surface unsupported - 51, # embedded images unsupported + 51, # drawing on top of image unsupported 52, # 3D quiver unsupported 55, # 3D unsupported 56, # barplots