Try to fix compatibility for Makie v0.21+ and AlgebraOfGraphics v0.7+ #23
+21
−1
Annotations
5 warnings
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/examples.md
```@example examples
import CairoMakie # hide
CairoMakie.activate!() # hide
import Main.MakieDocsHelpers4 # hide
var"#result" = begin # hide
using AlgebraOfGraphics, CairoMakie, SwarmMakie
using PalmerPenguins, DataFrames
penguins = dropmissing(DataFrame(PalmerPenguins.load()))
f = data(penguins) * mapping(:species, :bill_depth_mm, color=:sex) * visual(Beeswarm) |> draw
Makie.update_state_before_display!(f.figure)
Makie.update_state_before_display!(f.figure)
Makie.update_state_before_display!(f.figure)
f
end # hide
if var"#result" isa Makie.FigureLike # hide
MakieDocsHelpers4.AsMIME(MIME"image/png"(), var"#result") # hide
else # hide
var"#result" # hide
end # hide
```
exception =
MethodError: no method matching legend_elements(::Type{Plot{SwarmMakie.beeswarm}}, ::Dictionaries.Dictionary{Symbol, Any}, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
Closest candidates are:
legend_elements(!Matched::Type{Arrows}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:387
legend_elements(!Matched::Type{Plot{Makie.contour}}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:373
legend_elements(!Matched::Type{MakieCore.Text}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:367
...
Stacktrace:
[1] legend_elements(p::AlgebraOfGraphics.ProcessedLayer, scale_args::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:277
[2] compute_legend(grid::Matrix{AlgebraOfGraphics.AxisEntries}; order::Nothing)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:246
[3] compute_legend
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:88 [inlined]
[4] compute_legend
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:42 [inlined]
[5] #legend!#286
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:15 [inlined]
[6] legend!
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:14 [inlined]
[7] #legend!#285
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:5 [inlined]
[8] legend!
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:1 [inlined]
[9] (::AlgebraOfGraphics.var"#343#344"{Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, AlgebraOfGraphics.Layer, AlgebraOfGraphics.Scales})(f::Figure)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:68
[10] update
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:10 [inlined]
[11] _draw(d::AlgebraOfGraphics.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 ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:63
[12] _draw
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:60 [inlined]
[13] draw(d::AlgebraOfGraphics.Layer, scales::AlgebraOfGraphics.Scales; axis::@NamedTuple{}, figure::@NamedTuple{}, facet::@NamedTuple{}, legend::@NamedTuple{}, colorbar::@NamedTuple{}, palette::Nothing)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:57
[14] draw
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:47 [inlined]
[15] draw(d::AlgebraOfGraphics.Layer)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphic
|
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/introduction.md
```@example aog
import CairoMakie # hide
CairoMakie.activate!() # hide
import Main.MakieDocsHelpers4 # hide
var"#result" = begin # hide
using AlgebraOfGraphics, CairoMakie, SwarmMakie
using RDatasets, DataFrames
iris = dataset("datasets", "iris")
f = data(iris) *
mapping(:Species, :SepalLength; color = :Species) *
visual(Beeswarm) |> draw
Makie.update_state_before_display!(f.figure)
Makie.update_state_before_display!(f.figure)
f
end # hide
if var"#result" isa Makie.FigureLike # hide
MakieDocsHelpers4.AsMIME(MIME"image/png"(), var"#result") # hide
else # hide
var"#result" # hide
end # hide
```
exception =
MethodError: no method matching legend_elements(::Type{Plot{SwarmMakie.beeswarm}}, ::Dictionaries.Dictionary{Symbol, Any}, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
Closest candidates are:
legend_elements(!Matched::Type{Arrows}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:387
legend_elements(!Matched::Type{Plot{Makie.contour}}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:373
legend_elements(!Matched::Type{MakieCore.Text}, ::Any, ::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:367
...
Stacktrace:
[1] legend_elements(p::AlgebraOfGraphics.ProcessedLayer, scale_args::Dictionaries.Dictionary{Union{Int64, Symbol}, Any})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:277
[2] compute_legend(grid::Matrix{AlgebraOfGraphics.AxisEntries}; order::Nothing)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:246
[3] compute_legend
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:88 [inlined]
[4] compute_legend
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:42 [inlined]
[5] #legend!#286
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:15 [inlined]
[6] legend!
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:14 [inlined]
[7] #legend!#285
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:5 [inlined]
[8] legend!
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/guides/legend.jl:1 [inlined]
[9] (::AlgebraOfGraphics.var"#343#344"{Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, Dictionaries.Dictionary{Symbol, Any}, AlgebraOfGraphics.Layer, AlgebraOfGraphics.Scales})(f::Figure)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:68
[10] update
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:10 [inlined]
[11] _draw(d::AlgebraOfGraphics.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 ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:63
[12] _draw
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:60 [inlined]
[13] draw(d::AlgebraOfGraphics.Layer, scales::AlgebraOfGraphics.Scales; axis::@NamedTuple{}, figure::@NamedTuple{}, facet::@NamedTuple{}, legend::@NamedTuple{}, colorbar::@NamedTuple{}, palette::Nothing)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:57
[14] draw
@ ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:47 [inlined]
[15] draw(d::AlgebraOfGraphics.Layer)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/gJmTR/src/draw.jl:47
[16] |>(x::AlgebraOfGraphics.Layer, f::typeof
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L668
DocumenterVitepress: un-expanded `@example examples` block encountered on page src/examples/examples.md.
The first few lines of code in this node are:
```
import CairoMakie # hide
CairoMakie.activate!() # hide
import Main.MakieDocsHelpers4 # hide
var"#result" = begin # hide
using AlgebraOfGraphics, CairoMakie, SwarmMakie
using PalmerPenguins, DataFrames
```
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L668
DocumenterVitepress: un-expanded `@example aog` block encountered on page src/introduction.md.
The first few lines of code in this node are:
```
import CairoMakie # hide
CairoMakie.activate!() # hide
import Main.MakieDocsHelpers4 # hide
var"#result" = begin # hide
using AlgebraOfGraphics, CairoMakie, SwarmMakie
using RDatasets, DataFrames
```
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/vitepress_config.jl#L40
DocumenterVitepress: Did not detect `docs/src/.vitepress/config.mts` file. Substituting in the default file.
|
This job succeeded
Loading