Skip to content

errors with palette when importing Raster through UI #902

@Daniel-Trung-Nguyen

Description

@Daniel-Trung-Nguyen

I ran into this error when trying to choose a palette for the imported raster layer
Cheers,
Daniel

image

Truncated error message:
ValueError: 'matplotlib.Viridis_8' is not a valid value for name; supported values are 'Accent', 'Accent_r', 'Blues', 'Blues_r', 'BrBG', 'BrBG_r', 'BuGn', 'BuGn_r', 'BuPu', 'BuPu_r', 'CMRmap', 'CMRmap_r', 'Dark2', 'Dark2_r', 'GnBu', 'GnBu_r', 'Greens', 'Greens_r', 'Greys', 'Greys_r', 'OrRd', 'OrRd_r', 'Oranges', 'Oranges_r', 'PRGn', 'PRGn_r', 'Paired', 'Paired_r', 'Pastel1', 'Pastel1_r', 'Pastel2', 'Pastel2_r', 'PiYG', 'PiYG_r', 'PuBu', 'PuBuGn', 'PuBuGn_r', 'PuBu_r', 'PuOr', 'PuOr_r', 'PuRd', 'PuRd_r', 'Purples', 'Purples_r', 'RdBu', 'RdBu_r', 'RdGy', 'RdGy_r', 'RdPu', 'RdPu_r', 'RdYlBu', 'RdYlBu_r', 'RdYlGn', 'RdYlGn_r', 'Reds', 'Reds_r', 'Set1', 'Set1_r', 'Set2', 'Set2_r', 'Set3', 'Set3_r', 'Spectral', 'Spectral_r', 'Wistia', 'Wistia_r', 'YlGn', 'YlGnBu', 'YlGnBu_r', 'YlGn_r', 'YlOrBr', 'YlOrBr_r', 'YlOrRd', 'YlOrRd_r', 'afmhot', 'afmhot_r', 'autumn', 'autumn_r', 'binary', 'binary_r', 'bone', 'bone_r', 'brg', 'brg_r', 'bwr', 'bwr_r', 'cet_CET_C1', 'cet_CET_C10', 'cet_CET_C10_r', 'cet_CET_C10s', 'cet_CET_C10s_r', 'cet_CET_C11', 'cet_CET_C11_r', 'cet_CET_C11s', 'cet_CET_C11s_r', 'cet_CET_C1_r', 'cet_CET_C1s', 'cet_CET_C1s_r', 'cet_CET_C2', 'cet_CET_C2_r', 'cet_CET_C2s', 'cet_CET_C2s_r', 'cet_CET_C3', 'cet_CET_C3_r', 'cet_CET_C3s', 'cet_CET_C3s_r', 'cet_CET_C4', 'cet_CET_C4_r', 'cet_CET_C4s', 'c

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions