AoG: MethodError: no method matching compute_axes_grid(::Layers, ::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})

I updated AoG from 0.6 version to 0.7 and all my tests failed with the same error mentioned in a title:

ERROR: MethodError: no method matching compute_axes_grid(::Layers, ::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})

Closest candidates are:
  compute_axes_grid(::Any, ::AlgebraOfGraphics.AbstractDrawable, ::AlgebraOfGraphics.Scales; axis)
   @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/algebra/layers.jl:202
  compute_axes_grid(::Any, ::AlgebraOfGraphics.AbstractDrawable; ...)
   @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/algebra/layers.jl:202

Stacktrace:
  [1] compute_axes_grid(fig::GridPosition, d::Layers, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{…})
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/algebra/layers.jl:205
  [2] (::AlgebraOfGraphics.var"#700#701"{Dictionaries.Dictionary{…}, Layers, AlgebraOfGraphics.Scales})(f::GridPosition)
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:20
  [3] update(f::AlgebraOfGraphics.var"#700#701"{…}, fig::GridPosition)
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:10
  [4] plot!(fig::GridPosition, d::Layers, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{Symbol, Any})
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:20
  [5] (::AlgebraOfGraphics.var"#712#713"{…})(f::GridPosition)
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:98
  [6] update(f::AlgebraOfGraphics.var"#712#713"{…}, fig::GridPosition)
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:10
  [7] _draw!(fig::GridPosition, d::Layers, scales::AlgebraOfGraphics.Scales; axis::Dictionaries.Dictionary{…}, facet::Dictionaries.Dictionary{…})
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:97
  [8] draw!(fig::GridPosition, d::Layers, scales::AlgebraOfGraphics.Scales; axis::@NamedTuple{…}, facet::@NamedTuple{}, palette::Nothing)
    @ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:93
  [9] plot_erp!(f::Figure, plot_data::DataFrame; positions::Nothing, labels::Nothing, categorical_color::Bool, categorical_group::Bool, stderror::Bool, pvalue::Nothing, mapping::@NamedTuple{}, kwargs::@Kwargs{})
    @ UnfoldMakie /store/users/mikheev/projects/unfold_dev/dev/UnfoldMakie/src/plot_erp.jl:138
 [10] plot_erp(plot_data::DataFrame; kwargs::@Kwargs{stderror::Bool})
    @ UnfoldMakie /store/users/mikheev/projects/unfold_dev/dev/UnfoldMakie/src/plot_erp.jl:40
 [11] top-level scope
    @ REPL[33]:2
Some type information was truncated. Use `show(err)` to see complete types.

The code is breaking here:

    plot_equation = basic * mapp
    f_grid = f[1, 1:4]
    drawing = draw!(f_grid, plot_equation; axis = config.axis)

Full code is here: UnfoldMakie.jl/src/plot_erp.jl at ploterp · unfoldtoolbox/UnfoldMakie.jl · GitHub
Any ideas what to change? I looked at breaking changes but wasn’t able to figure out what is the problem.

Not sure, this works for me which repeats the main parts of your code. Can you try to make a reproducible MWE?

spec = data((;x = 1:10, y = 1:10)) * mapping(:x, :y) * visual(Scatter)
f = Figure()
f_grid = f[1, 1:4]
draw!(f_grid, spec; axis = (; xscale = log10))
f