From cfe07784e63cf68655519d0ba2b3b432684ecc01 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 21 May 2018 15:15:17 +0200 Subject: [PATCH] make UnicodePlots.show print to the given io --- src/backends/unicodeplots.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 6b4e124d..f644966d 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -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