UnicodePlots: support images
This commit is contained in:
parent
f784010c29
commit
9ff65b4003
@ -936,6 +936,7 @@ const _unicodeplots_seriestype = [
|
||||
:shape,
|
||||
:histogram2d,
|
||||
:heatmap,
|
||||
:image,
|
||||
:spy,
|
||||
]
|
||||
const _unicodeplots_style = [:auto, :solid]
|
||||
|
||||
@ -113,6 +113,8 @@ function addUnicodeSeries!(
|
||||
)
|
||||
elseif st == :spy
|
||||
return UnicodePlots.spy(series[:z].surf; kw...)
|
||||
elseif st == :image
|
||||
return UnicodePlots.imshow(series[:z].surf; kw...)
|
||||
end
|
||||
|
||||
series_kw = (;)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user