```
MethodError: MethodError(Core.kwcall, ((layout = [0, 1, 1, 1, 0, 0, 0, 0, 0, 1 … 1, 1, 0, 0, 1, 1, 1, 0, 1, 0], datalimits = ((19.187, 79.292),), closed = :left, normalization = :none), AlgebraOfGraphics._histogram, ([34.823, 32.765, 35.974, 38.206, 33.559, 53.758, 25.306, 39.897, 54.975, 40.732 … 30.317, 44.131, 20.009, 69.412, 43.751, 31.245, 45.48, 61.124, 33.803, 40.145],)), 0xffffffffffffffff)
MethodError: no method matching _histogram(::Tuple{Vector{Float64}}; layout::Vector{Int64}, datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol)
Closest candidates are:
_histogram(::Tuple; bins, weights, normalization, datalimits, closed) got unsupported keyword argument "layout"
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/transformations/histogram.jl:24
Stacktrace:
[1] kwerr(::@NamedTuple{layout::Vector{Int64}, datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}, ::Function, ::Tuple{Vector{Float64}})
@ Base ./error.jl:165
[2] (::AlgebraOfGraphics.var"#283#284"{@NamedTuple{datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}})(p::Vector{Vector{Float64}}, n::Dictionaries.Dictionary{Symbol, Any})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/transformations/histogram.jl:49
[3] (::AlgebraOfGraphics.var"#45#46"{AlgebraOfGraphics.var"#283#284"{@NamedTuple{datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}}, ProcessedLayer})(c::CartesianIndex{1})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layer.jl:189
[4] iterate
@ ./generator.jl:47 [inlined]
[5] _collect(c::CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, itr::Base.Generator{CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, AlgebraOfGraphics.var"#45#46"{AlgebraOfGraphics.var"#283#284"{@NamedTuple{datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}}, ProcessedLayer}}, ::Base.EltypeUnknown, isz::Base.HasShape{1})
@ Base ./array.jl:854
[6] collect_similar(cont::CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, itr::Base.Generator{CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, AlgebraOfGraphics.var"#45#46"{AlgebraOfGraphics.var"#283#284"{@NamedTuple{datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}}, ProcessedLayer}})
@ Base ./array.jl:763
[7] map(f::Function, A::CartesianIndices{1, Tuple{Base.OneTo{Int64}}})
@ Base ./abstractarray.jl:3285
[8] map(f::AlgebraOfGraphics.var"#283#284"{@NamedTuple{datalimits::Tuple{Tuple{Float64, Float64}}, closed::Symbol, normalization::Symbol}}, processedlayer::ProcessedLayer)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layer.jl:188
[9] (::AlgebraOfGraphics.HistogramAnalysis{MakieCore.Automatic, MakieCore.Automatic})(input::ProcessedLayer)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/transformations/histogram.jl:48
[10] process(layer::Layer)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/processing.jl:165
[11] ProcessedLayers
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:55 [inlined]
[12] compute_axes_grid(d::Layer, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:250
[13] compute_axes_grid
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:248 [inlined]
[14] compute_axes_grid(fig::Figure, d::Layer, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:218
[15] compute_axes_grid
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:215 [inlined]
[16] #363
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:20 [inlined]
[17] update
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:10 [inlined]
[18] plot!(fig::Figure, d::Layer, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:20
[19] plot!
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:16 [inlined]
[20] (::AlgebraOfGraphics.var"#374#379"{Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Layer, AlgebraOfGraphics.Scales, AlgebraOfGraphics.FigureSettings})(f::Figure)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:162
[21] update
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:10 [inlined]
[22] _draw(d::Layer, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any}, figure::Dictionaries.Dictionary{Symbol, Any}, facet::Dictionaries.Dictionary{Symbol, Any}, legend::Dictionaries.Dictionary{Symbol, Any}, colorbar::Dictionaries.Dictionary{Symbol, Any})
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:161
[23] _draw
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:154 [inlined]
[24] draw(d::Layer, scales::AlgebraOfGraphics.Scales; axis::@NamedTuple{}, figure::@NamedTuple{}, facet::@NamedTuple{}, legend::@NamedTuple{}, colorbar::@NamedTuple{}, palette::Nothing)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:85
[25] draw
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:75 [inlined]
[26] draw(d::Layer)
@ AlgebraOfGraphics ~/_work/PumasTutorials.jl/PumasTutorials.jl/custom_julia_depot/packages/AlgebraOfGraphics/BPWA1/src/draw.jl:75
[27] |>(x::Layer, f::typeof(draw))
@ Base ./operators.jl:917
[28] top-level scope
@ ~/_work/PumasTutorials.jl/PumasTutorials.jl/tutorials/PlottingInJulia/04-AoG-Custom.qmd:219
```