We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cff0e3 commit 16009f6Copy full SHA for 16009f6
1 file changed
ext/GridVisualizeUnicodePlotsExt.jl
@@ -25,7 +25,8 @@ function reveal(p::GridVisualizer, ::Type{UnicodePlotsType})
25
if !isdefined(Main, :Term)
26
@warn "A GridVisualizer with multiple UnicodePlots requires 'Term.jl' to be loaded: add Term.jl to your environment."
27
else
28
- grid_plot = UnicodePlots.gridplot(map(subplot -> subplot[:figure], subplots), layout = p.context[:layout])
+ figures = [subplot[:figure] for subplot in subplots if haskey(subplot, :figure)]
29
+ grid_plot = UnicodePlots.gridplot(figures, layout = p.context[:layout])
30
display(grid_plot)
31
end
32
0 commit comments