Skip to content

Commit

Permalink
MAINT: fix depreciated formt usage in nonlinear_color_mapping (#892)
Browse files Browse the repository at this point in the history
Co-authored-by: Chengyu Liu <cyliu@aus552cyliu.local>
Co-authored-by: Corran Webster <cwebster@enthought.com>
  • Loading branch information
3 people authored May 10, 2023
1 parent 599e6f3 commit 86d9086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaco/examples/demo/nonlinear_color_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class DataGridView(HasTraits):
Item("colormap_scale"),
Item(
"power",
editor=RangeEditor(low=0.1, high=3.0, format="%4.2f"),
editor=RangeEditor(low=0.1, high=3.0, format_str="%4.2f"),
visible_when='colormap_scale.startswith("power")',
springy=True,
),
Expand Down

0 comments on commit 86d9086

Please sign in to comment.