ropensci / visdat

Preliminary Exploratory Visualisation of Data
https://docs.ropensci.org/visdat/
Other
450 stars 47 forks source link

Suggestion: vis_dat() keep type colors constant #104

Closed jzadra closed 5 years ago

jzadra commented 5 years ago

Currently vis_dat() uses the default method to assign colors to discrete values for each of the types of data (numeric, character, posix, etc). However, this means that if a dataset only has numeric, the numeric will be orange. If it has numeric and character, the character will be orange and the numeric will be blue.

It might be better if these colors were consistent regardless of the number of categories of data in a table.

njtierney commented 5 years ago

Hello!

Agreed! This is something I've been thinking about here in #26 - I'm going to close this issue for the moment as I discuss things in more detail over there. Thanks for posting :)