Search code examples
user-interfacematplotlibtraitschacoenaml

What is a good link to examples of enaml being used with traits and matplotlib?


I have done GUI construction but not in Python. From other stack exchange questions and my own investigation. It looks like I want to use enaml and traits for the bulk of this work. Are there any links or references to help me get started.

This is a scientific application integrating matplotlib plots and text boxes and buttons (Very simple I think). I have gone through this example but don't understand it too well http://code.enthought.com/projects/traits/docs/html/tutorials/traits_ui_scientific_app.html

I have also gone through the Enthough Chaco examples and don't get very far. Has somebody built a program that I could run and look at their code? Or is their a repository of examples I am not aware of? I found the enaml examples but the example with matplotlib is basic and does not show me how to connect my algorithms to the plots. Thanks in advance!


Solution

  • Not a full answer, but for additional context:

    1) Use https://github.com/nucleic/enaml, along with https://github.com/enthought/traits-enaml

    2) Example: https://github.com/nucleic/enaml/blob/master/examples/widgets/mpl_canvas.enaml