Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colormap value is either a Dict or a String #359

Closed
vincentsarago opened this issue Mar 5, 2021 · 0 comments · Fixed by #360
Closed

Colormap value is either a Dict or a String #359

vincentsarago opened this issue Mar 5, 2021 · 0 comments · Fixed by #360

Comments

@vincentsarago
Copy link
Member

data: Dict[str, Union[str, numpy.array]] = attr.ib(

data: Dict[str, Union[str, numpy.array]] = attr.ib(
    default=attr.Factory(lambda: DEFAULT_CMAPS_FILES)
)
# to

data: Dict[str, Union[str, Dict]] = attr.ib(
    default=attr.Factory(lambda: DEFAULT_CMAPS_FILES)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant