Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
disberd committed Oct 21, 2024
1 parent c43348f commit 4474d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/preprocess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit 4474d49

Please sign in to comment.