Update plot.jl (#2467)

* implement the recipe_pipeline

* delete _plot!

* Update plot.jl

fix: https://github.com/mkborregaard/RecipePipeline.jl/issues/7
This commit is contained in:
Simon Christ 2020-03-15 15:40:49 +01:00 committed by GitHub
parent 4b94a8c2f6
commit 9d57817bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,11 @@ function _recipe_after_plot!(plt::Plot, plotattributes::AKW, kw_list::Vector{KW}
_subplot_setup(plt, plotattributes, kw_list)
end
function _recipe_after_user!(plt::Plot, plotattributes::AKW, kw_list::Vector{KW})
# don't allow something else to handle it
plotattributes[:smooth] = false
end
function _recipe_before_series!(plt::Plot, kw, kw_list)
sp::Subplot = kw[:subplot]