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

MAINT: fix depreciated formt usage in nonlinear_color_mapping #892

Merged
merged 2 commits into from
May 10, 2023

Conversation

homosapien-lcy
Copy link
Contributor

@homosapien-lcy homosapien-lcy commented May 8, 2023

After the update of the traitsui package, RangeEditor has deprecated the usage of format_str. Some code that didn't adapt to the change has raised error during the test such as mentioned in #888 .
The error is located in https://github.com/enthought/chaco/blob/main/chaco/examples/demo/nonlinear_color_mapping.py#L198, and the current PR fixes it by updating the deprecated "format" to "format_str". Closes #888

Copy link
Member

@dpinte dpinte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@corranwebster corranwebster merged commit 86d9086 into main May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants