def run_demo(): with enaml.imports(): from mplot_demo_scatter_animate import Main app = QtApplication() view = Main(custom_title='Matplotlib demo', mplot_style='darkish') view.show() # Start the application event loop app.start()
def run_demo(): with enaml.imports(): #from mplot_demo_dynamic import Main #from mplot_demo_realtime import Main #from mplot_demo_multi import Main #from mplot_demo_docks import Main #from mplot_demo_controls import Main #from mplot_demo_scatter import Main from mplot_demo_scatter_animate import Main app = QtApplication() view = Main(custom_title='Matplotlib demo', mplot_style='darkish') view.show() # Start the application event loop app.start()