Description Usage Arguments Value
Given a palete, run the genetic algorithm described in Troiano, Birtolo, and Miranda 2008 to create a palette that should work better for those with colorblindness.
1 | .optimize_palette(palette, maxiter = 45, parallel = F, monitor = plot)
|
palette |
Original palette, in hex strings |
maxiter |
Number of iterations to run |
parallel |
Should you run in parallel? F to turn off, else # of cores to use |
monitor |
Monitor convergence? use plot to view, F to turn off |
A hex string with a new palette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.