Search code examples
matplotlibwxpythonembedwxwidgets

Unable to Compile wxAgg, backend for wxpython to embed matplotlib


I am trying to complile wxAgg that I might embed matplotlib plots in wxpython. But, I am not able to compile it successfully. Is there any windows installer available?

The error i am getting is, 'wxUSE_ACTIVEX must be defined'


Solution

  • I assume you are on Windows, for that I use this one 'matplotlib-1.4.0.win32-py2.7.exe' from http://matplotlib.org/downloads.html

    Just ensure to use the installer which corresponds to the Python version you are using.