Skip to content

Plotting limitation by length of this dict #1

@mattloose

Description

@mattloose

asmTools/asmToRefViz.py

Lines 334 to 338 in 6ce3cf6

color_dict = {0:(116, 34, 128, 256),
1:(178, 125, 28, 256),
2:(12, 122, 17, 256),
3:(50, 97, 169, 256)
}

The code fails if you attempt to plot more rows than colours in the dictionary. Is there a way to alter this and pass in a list of colours or something?

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