diff --git a/.zenodo.json b/.zenodo.json index fec2e5ead..01b2c5b08 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -789,6 +789,10 @@ { "name": "Patrick Jaap", "type": "Other" + }, + { + "name": "Wolf, Ron", + "type": "Other" } ], "upload_type": "software" diff --git a/StatsPlots/src/df.jl b/StatsPlots/src/df.jl index f4df36d88..e2c986be5 100644 --- a/StatsPlots/src/df.jl +++ b/StatsPlots/src/df.jl @@ -191,6 +191,8 @@ get_col(syms, col_nt, names) = hcat((get_col(s, col_nt, names) for s ∈ syms).. # get the appropriate name when passed an Integer add_sym!(cols, i::Integer, names) = push!(cols, names[i]) +# get the appropriate name when passed an AbstractString +add_sym!(cols, str::AbstractString, names) = add_sym!(cols, Symbol(str), names) # check for errors in Symbols add_sym!(cols, s::Symbol, names) = s in names ? push!(cols, s) : cols # recursively extract column names