Skip to content

Visualization: having a cmap_name in plot_results kwargs is restrictive. #311

Description

@JakeColor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions