From 4474d4920db825413b708ea7579135ad158c2b6b Mon Sep 17 00:00:00 2001 From: Alberto Mengali Date: Mon, 21 Oct 2024 10:30:55 +0200 Subject: [PATCH] add comment --- src/preprocess.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/preprocess.jl b/src/preprocess.jl index 0420552..7938d90 100644 --- a/src/preprocess.jl +++ b/src/preprocess.jl @@ -94,6 +94,8 @@ _process_with_names(A::AbstractArray{<:Union{Number,AbstractVector{<:Number}},N} # Dict ans HasFields function _process_with_names(d::Dict, fl::Val, @nospecialize(args::Vararg{AttrName})) Dict{Any,Any}(k => if k isa Symbol + # We have this branch as we might have plotly properties here and we assume + # they are if the dict key is a symbol. _process_with_names(v, fl, AttrName(k), args...) else _process_with_names(v, fl, args...)