self.figure = None

def _plot_type_changed(self):
    plot_class = available_plot_types[self.plot_type]
if self.figure is not None:
    self.figure.close_signal = True
self.figure = plot_class(self.plotdata)
controller = PlotController(model=self.figure)
controller.edit_traits()
N = 20
x = np.arange(N)
y = x + np.random.normal(size=N)
plot_selector = PlotSelector(x, y)
plot_selector.configure_traits()
Динамически создавать графики в Чако