From 4eb7e3810e3aa66d1252af75175c175143e93e0b Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Sat, 12 Sep 2015 14:58:15 -0400 Subject: [PATCH] unicodeplots --- src/backends/unicodeplots.jl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 08f5ed53..1eea4cf9 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -92,7 +92,7 @@ function plot(pkg::UnicodePlotsPackage; kw...) if !haskey(plt.initargs, :size) || plt.initargs[:size] == PLOT_DEFAULTS[:size] plt.initargs[:size] = (60,20) end - + plt end @@ -114,7 +114,11 @@ end # ------------------------------- -savepng(::UnicodePlotsPackage, plt::PlottingObject, fn::String, args...) = error("currently unsupported") +function savepng(::UnicodePlotsPackage, plt::PlottingObject, fn::String, args...) # = error("currently unsupported") + display(plt) + # TODO + warn("savepng unimplemented") +end # -------------------------------