enthought / chaco

Chaco is a Python package for building interactive and custom 2-D plots.
http://docs.enthought.com/chaco/
Other
291 stars 101 forks source link

MAINT: fix DemoController in the image_from_file example #893

Closed homosapien-lcy closed 1 year ago

homosapien-lcy commented 1 year ago

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