ColorSchemes.jl icon indicating copy to clipboard operation
ColorSchemes.jl copied to clipboard

A consistent case pattern

Open tecosaur opened this issue 1 year ago • 0 comments

I find that often I need to remember not just a colour scheme, but also the naming scheme it uses. Currently, ColorSchemes.jl has a mix of:

  • nocase (e.g. twelvebitrainbow, redgreensplit, gnuplot2)
  • snake_case (e.g. tableau_superfishel_stone, seaborn_dark6)
  • Camel_Snake (e.g. Spectral_10)
  • CamelCase (e.g. Zissou1Continuous)

I think it would be rather good if the format could be normalised, so there's less that needs to be remembered. Aliases for backward-compatibility can be easily added to the colorschemes dict.

tecosaur avatar May 08 '24 14:05 tecosaur