error with embedding_in_wx.py

Another clue, when I try another example with wx I get:

    > wohlbier@...111... examples $ python dynamic_demo_wx.py
    > Traceback (most recent call last): File
    > "dynamic_demo_wx.py", line 34, in ? from
    > matplotlib.backends import Figure, Toolbar, FigureManager
    > ImportError: cannot import name Figure wohlbier@...111...
    > examples $

OK, the answer was simpler than I thought. There is a problem in both
of those examples. They should use('WX') at the top.

embedding_in_wx.py (3.43 KB)

dynamic_demo_wx.py (3.36 KB)