Xlator and Mathtext

cannot import name FigureManager

Right, I was just winging it off the top of my head, as I am now :-).
Remember you have the src code which is the ultimate reference so
when I say something stupid you can always get the real names by
looking at backend_wx.py and backend_wxagg.py. FYI, they are
identical except backend_wxagg subclasses FigureFrameWx and
FigureCanvasWx to make the agg variants.

How about something like

from matplotlib.backends_wx import FigureManagerWx as FigureManager
from matplotlib.backends_wx import NavigationToolbarWx as NavigationToolbar
from matplotlib.backends_wxagg import FigureCanvasWxAgg as FigureCanvas

I *think* that should do it.

    > Well, Here I was misled by the example embedded_in_wx,
    > which has that line.:-/ Should I just delete the darn
    > line?:slight_smile:

I think you should keep it. I am not sure what you are doing in all
your code (ie, whether you use the matlab interface). Since we know
it could do harm to remove it and can't do harm to keep it, I say keep
it.

    > well maybe in CVS it works but in 0.53.1 I can' t import
    > FigureManager from backend_wxagg.:~(

See above

    > Should I not import FigureCanvasWxAgg instead of
    > FigureCanvasWx?

Yep...

Good luck!
JDH