tests/testthat/_snaps/testthat-legacy/draw-dm.md

dm_set_colors() works

Code
  dm_nycflights_small() %>% dm_set_colors(blue = "flights", green = "airports") %>%
    dm_get_colors()
Output
     default  #00FF00FF  #0000FFFF    default    default 
  "airlines" "airports"  "flights"   "planes"  "weather"


Try the dm package in your browser

Any scripts or data that you put into this service are public.

dm documentation built on Nov. 2, 2023, 6:07 p.m.