Skip to content

MAINT: fix DemoController in the image_from_file example#893

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

MAINT: fix DemoController in the image_from_file example#893
corranwebster merged 2 commits into
mainfrom
fix_demo_controller_init

Conversation

@homosapien-lcy
Copy link
Copy Markdown
Contributor

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

After the update of traitsui, the ui requires the init() method to return a boolean that indicates whether the initiation has been successful. However, some demos have not been able to adapt to this change such as #889 . This PR aims to fix #889 by adding the boolean return to the demo. closes #889

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 5603512 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

Development

Successfully merging this pull request may close these issues.

ValueError: Handler.init() must return True or False, but instead returned None. when running chaco/chaco/examples/demo/basic/image_from_file.py

3 participants