try to make plotting work

This commit is contained in:
Daniel Schwabeneder 2020-03-14 17:34:36 +01:00
parent dee4a7421d
commit d03fe10df6
2 changed files with 6 additions and 10 deletions

View File

@ -18,10 +18,11 @@ using Base.Meta
import Showoff import Showoff
import StatsBase import StatsBase
import JSON import JSON
import RecipeUtils: _process_userrecipes, _process_plotrecipe, import RecipeUtils: _process_userrecipes, _process_plotrecipes,
_process_seriesrecipe, _preprocess_args, _process_seriesrecipe, _preprocess_args,
preprocessArgs!, is_st_supported, preprocessArgs!, is_st_supported,
finalize_subplot! finalize_subplot!,
_process_userrecipe
using Requires using Requires
@ -226,7 +227,7 @@ end
const CURRENT_BACKEND = CurrentBackend(:none) const CURRENT_BACKEND = CurrentBackend(:none)
include("precompile.jl") # include("precompile.jl")
_precompile_() # _precompile_()
end # module end # module

View File

@ -189,12 +189,7 @@ function _plot!(plt::Plot, plotattributes::AKW, args::Tuple)
# the plot layout is created, which allows for setting layouts and other plot-wide attributes. # the plot layout is created, which allows for setting layouts and other plot-wide attributes.
# we get inputs which have been fully processed by "user recipes" and "type recipes", # we get inputs which have been fully processed by "user recipes" and "type recipes",
# so we can expect standard vectors, surfaces, etc. No defaults have been set yet. # so we can expect standard vectors, surfaces, etc. No defaults have been set yet.
still_to_process = kw_list _process_plotrecipes(plt, kw_list, _typeAliases)
kw_list = KW[]
while !isempty(still_to_process)
next_kw = popfirst!(still_to_process)
_process_plotrecipe(plt, next_kw, kw_list, still_to_process)
end
# @info(2) # @info(2)
# map(DD, kw_list) # map(DD, kw_list)