From 5491f6eff71deddd05576f22fce2c5c97a57e748 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Tue, 24 Nov 2015 13:56:20 -0500 Subject: [PATCH] issubplot in _apply_recipe --- src/subplot.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/subplot.jl b/src/subplot.jl index 5fc04a10..c668fc81 100644 --- a/src/subplot.jl +++ b/src/subplot.jl @@ -156,6 +156,9 @@ function subplot(args...; kw...) d = Dict(kw) preprocessArgs!(d) + # for plotting recipes, swap out the args and update the parameter dictionary + args = _apply_recipe(d, args...; kw..., issubplot=true) + # figure out the layout layoutarg = get(d, :layout, nothing) if layoutarg != nothing @@ -225,7 +228,7 @@ function _preprocess_subplot(subplt::Subplot, d::Dict, args = ()) preprocessArgs!(d) # for plotting recipes, swap out the args and update the parameter dictionary - args = _apply_recipe(d, args...; d...) + args = _apply_recipe(d, args...; d..., issubplot=true) dumpdict(d, "After subplot! preprocessing")