From 221dfa59fdc0b3b717a02e8228cb22a801172d4d Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Tue, 6 Jun 2017 10:18:05 +0200 Subject: [PATCH] Add legendtitle to example 13 --- src/examples.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples.jl b/src/examples.jl index 2fd6a0e9..5e9c3771 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -118,7 +118,7 @@ PlotExample("Line styles", styles = filter(s -> s in Plots.supported_styles(), [:solid, :dash, :dot, :dashdot, :dashdotdot])' n = length(styles) y = cumsum(randn(20,n),1) - plot(y, line = (5, styles), label = map(string,styles)) + plot(y, line = (5, styles), label = map(string,styles), legendtitle = "linestyle") end)] ),