Plotting to a matplotlib / pyplot window does not work
Matthias Brennwald <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
I am trying to to make a wxPython program that controls a measurement instrument. The access to the instrument happens via a Python class. That class configures a matplotlib / pyplot window, where the measured data are plotted. In the wxPython application, the data acquisition (and hence the plotting) happens in a thread that is separate from the GUI, because this is a slow and long-running process that must not block the GUI. If I use this class from within my wxPython application, the data plotting does not work. Plotting works fine if I use the instrument class without wxPython. (The instrument class is here: <https://github.com/brennmat/ruediPy/blob/master/python/classes/rgams_SRS.py> ) Any thoughts what's going on? Any clues what to check or where to look for the reason why the combination of matplotlib/pyplot with wxPython not work in my case? -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/YAZRDQ.FU2SPKG6O7G5%40gmail.com.