From dee4a7421dca8c50a7e22fd5f53dbf1cc48b24ef Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Sat, 14 Mar 2020 14:56:27 +0100 Subject: [PATCH] add function stubs from recipeutils --- src/Plots.jl | 5 ++++- src/pipeline.jl | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Plots.jl b/src/Plots.jl index 3eaab2f6..85caf4b5 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -18,7 +18,10 @@ using Base.Meta import Showoff import StatsBase import JSON -import RecipeUtils: _process_userrecipes, _process_plotrecipe, _process_seriesrecipe +import RecipeUtils: _process_userrecipes, _process_plotrecipe, + _process_seriesrecipe, _preprocess_args, + preprocessArgs!, is_st_supported, + finalize_subplot! using Requires diff --git a/src/pipeline.jl b/src/pipeline.jl index 2cd14550..7508d7ee 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -1,5 +1,13 @@ +function finalize_subplot!(plt, plotattributes::AKW) + sp = _prepare_subplot(plt, plotattributes) + _prepare_annotations(sp, plotattributes) + _expand_subplot_extrema(sp, plotattributes, st) + _update_series_attributes!(plotattributes, plt, sp) + _add_the_series(plt, sp, plotattributes) +end +is_st_supported(st::Symbol) = is_seriestype_supported(st) # ------------------------------------------------------------------ # preprocessing