UnicodePlots: Allow simple nesting
This commit is contained in:
parent
2dc812aa15
commit
31d33e6be4
@ -181,8 +181,8 @@ function _show(io::IO, ::MIME"text/plain", plt::Plot{UnicodePlotsBackend})
|
|||||||
lmax = 0
|
lmax = 0
|
||||||
for c in 1:nc
|
for c in 1:nc
|
||||||
l = plt.layout[r, c]
|
l = plt.layout[r, c]
|
||||||
if l isa GridLayout
|
if l isa GridLayout && size(l) != (1, 1)
|
||||||
@error "UnicodePlots: nested layout is currently unsupported !"
|
@error "UnicodePlots: complex nested layout is currently unsupported !"
|
||||||
else
|
else
|
||||||
if get(l.attr, :blank, false)
|
if get(l.attr, :blank, false)
|
||||||
lines_colored[r, c] = lines_uncolored[r, c] = nothing
|
lines_colored[r, c] = lines_uncolored[r, c] = nothing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user