Fix un-imported symbol (#2468)

ensure that the pipeline works
This commit is contained in:
Anshul Singhvi 2020-03-15 17:57:28 +05:30 committed by Simon Christ
parent aafc1e1989
commit 4b94a8c2f6
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import RecipePipeline: _process_userrecipe, _process_plotrecipe,
finalize_subplot!, recipe_pipeline!,
_recipe_init!, _recipe_after_user!,
_recipe_after_plot!, _recipe_before_series!,
_recipe_finish!
_recipe_finish!, is_st_supported
using Requires

View File

@ -1,4 +1,3 @@
function finalize_subplot!(plt::Plot, st, plotattributes::AKW)
sp = _prepare_subplot(plt, plotattributes)
_prepare_annotations(sp, plotattributes)
@ -8,7 +7,7 @@ function finalize_subplot!(plt::Plot, st, plotattributes::AKW)
end
# Override the RecipesPipeline `is_st_supported` for Plots.
RecipePipeline.is_st_supported(::Plot, st::Symbol) = is_seriestype_supported(st)
is_st_supported(::Plot, st::Symbol) = is_seriestype_supported(st)
# ------------------------------------------------------------------
# preprocessing