make UnicodePlots.show print to the given io

This commit is contained in:
Fredrik Ekre 2018-05-21 15:15:17 +02:00
parent 9f46e19084
commit cfe07784e6

View File

@ -212,7 +212,7 @@ end
function _show(io::IO, ::MIME"text/plain", plt::Plot{UnicodePlotsBackend})
unicodeplots_rebuild(plt)
map(show, plt.o)
foreach(x -> show(io, x), plt.o)
nothing
end