While working on a recent assignment for 8250, I noticed that the cmap_name in the plot_results function kwargs is overly restrictive.
My use case:
Imagine a user wants to use a custom colormap to visualize model runs, with blues corresponding to one set of seeded runs, reds to another, and so on.
This is not possible in the current code, which only allows use of default matplotlib cmaps via their string name.
While working on a recent assignment for 8250, I noticed that the
cmap_namein theplot_resultsfunction kwargs is overly restrictive.My use case:
Imagine a user wants to use a custom colormap to visualize model runs, with blues corresponding to one set of seeded runs, reds to another, and so on.
This is not possible in the current code, which only allows use of default matplotlib cmaps via their string name.