You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error shows up when using dodge in mapping for a visual(RainCloud):
julia>let fig
fig =Figure()
plt =data(plot_df) *mapping(:band_name, :value; dodge=:site_name, color=:site_name, layout=:stage) *visual(RainClouds)
draw!(fig, plt)
fig
end
ERROR: ArgumentError: ProcessedLayer with plot type Plot{Makie.rainclouds} did not have :dodgein its AestheticMapping. The mapping was {1= AlgebraOfGraphics.AesX, 2= AlgebraOfGraphics.AesY, :color= AlgebraOfGraphics.AesColor}
Stacktrace:
[1] hardcoded_or_mapped_aes(processedlayer::ProcessedLayer, key::Symbol, aes_mapping::Dictionaries.Dictionary{…})
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:243
[2] (::AlgebraOfGraphics.var"#p!#134"{…})(key::Symbol)
@ AlgebraOfGraphics ~/.julia/packages/AlgebraOfGraphics/BPWA1/src/algebra/layers.jl:167
[3] foreach(f::AlgebraOfGraphics.var"#p!#134"{…}, d::Dictionaries.Indices{…})
@ Dictionaries ~/.julia/packages/Dictionaries/Cl0jU/src/foreach.jl:36
[4] compute_scale_properties(processedlayers::Vector{ProcessedLayer}, scales::AlgebraOfGraphics.Scales)
Note that dodge is a documented keyword of raindlcouds.
Steps to reproduce
I can take to the time to generate MWE in a day or two when I have more bandwidth, but I think this should be easy to reproduce and wanted to post this sooner to keep it in my inbox.
Images
If applicable, add images of the plots you obtained to help explain your problem.
NOTE: this excludes some proprietary package names that would leak sensitive information. When I have bandwidth to provide a MWE without sensitive packages I will update the info here.
julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake-avx512)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)
Environment:
JULIA_PKG_DEVDIR = {/home/ubuntu}/Documents/tools
JULIA_PKG_USE_CLI_GIT = true
The text was updated successfully, but these errors were encountered:
Attributes of Makie plotting functions are not automatically available as aesthetics in AoG, only as visual attributes. They have to be added so AoG knows what to do with them.
Bug description
This error shows up when using
dodge
inmapping
for avisual(RainCloud)
:Note that dodge is a documented keyword of
raindlcouds
.Steps to reproduce
I can take to the time to generate MWE in a day or two when I have more bandwidth, but I think this should be easy to reproduce and wanted to post this sooner to keep it in my inbox.
Images
If applicable, add images of the plots you obtained to help explain your problem.
Version info
NOTE: this excludes some proprietary package names that would leak sensitive information. When I have bandwidth to provide a MWE without sensitive packages I will update the info here.
The text was updated successfully, but these errors were encountered: