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