Skip to content

MAINT: fix depreciated formt usage in nonlinear_color_mapping#892

Merged
corranwebster merged 2 commits into
mainfrom
fix_nonlinear_color_mapping_format
May 10, 2023
Merged

MAINT: fix depreciated formt usage in nonlinear_color_mapping#892
corranwebster merged 2 commits into
mainfrom
fix_nonlinear_color_mapping_format

Conversation

@homosapien-lcy
Copy link
Copy Markdown
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
Copy Markdown
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