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
I generated a reprex below, but essentially the # is missing from one of the hex colors in the palette d3.schemeCategory10. This means that it shows up as blank in legends but black in the charts. This bug only appears when there are >6 categories shown, which is rare I'm sure. Using version 0.6.2 from CRAN today.
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, union
library(leaflet)
library(leaflet.minicharts)
# Notice the missing "#..." on color 7?
print(d3.schemeCategory10)
#> [1] "#1f77b4" "#ff7f0e" "#2ca02c" "#d62728" "#9467bd" "#8c564b" "e377c2" #> [8] "#7f7f7f" "#bcbd22" "#17becf"# This throws an error because of itscales::show_col(d3.schemeCategory10)
#> Error in rect(col(colours) - 1, -row(colours) + 1, col(colours), -row(colours), : invalid color name 'e377c2'
I generated a reprex below, but essentially the
#
is missing from one of the hex colors in the paletted3.schemeCategory10
. This means that it shows up as blank in legends but black in the charts. This bug only appears when there are >6 categories shown, which is rare I'm sure. Using version 0.6.2 from CRAN today.Created on 2022-03-31 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: