Skip to content

palette silently uses dict values if key does not match #138

@ricklupton

Description

@ricklupton
palette = {
   "a": "red",
   "b": "blue",
}

If there is a key "c", it will treat palette like a list of values and use "red", but it should give an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions