Skip to content

Commit

Permalink
Merge pull request #1 from mkborregaard/bbs/vizcon2
Browse files Browse the repository at this point in the history
my crude understanding of a pipeline stub
  • Loading branch information
mkborregaard authored Mar 14, 2020
2 parents 337e299 + 3442853 commit bbac58c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions RecipesPipeline/src/pipeline.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# Here comes the specification of when which recipe is processed.
# It contains functions before and after every stage for interaction with the plotting package.

function recipe_pipeline(plt, # frontend specific representation of a plot
plotattributes, # current state of recipe keywords
args, # set of arguments passed by the user
)
_recipe_init(plt, plotattributes, args)
kw_list = _process_userrecipes(plt, plotattributes, args)
_recipe_after_user(plt, plotattributes, args)
kw_list = _process_plotrecipes(plt, plotattributes, args)
_recipe_after_plot(plt, plotattributes, args)
for (series_ind, series) in enumerate(series_list)
kw_list = _process_seriesrecipe(plt, plotattributes)
_recipe_after_series(plt, plotattributes, series_ind)
end
_recipe_finish((plt, plotattributes, args)
end

0 comments on commit bbac58c

Please sign in to comment.