Hi guys,
after A LOT of pain, I have managed to integrate matplotlib to be used
in MITK (including superbuild integration).
This involved changing python-cmake used to head (for _ctypes to be
compiled correctly), changing PythonQt to correctly include the wrappers
of Qt functionality for Qt5 (not just builtins, but the rest of it),
hacking into CTK to correctly propagate the wrapping and some more pain.
Anyway, I've got it working (apart from manual lib-dynload stuff
mentioned in previous e-mail).
Now it's possible to create a Qt widget displaying matplotlib graphs
from python code (i.e. from MITK's python plugin).
There are some weird problems still - for example saving figure to file
("savefig" method) crashes if executed from MITK workbench. The same
code executed using python.exe built by MITK works smoothly however.
So guys, in case you are interested in this, let me know. I also hope
you might help me sort out the remaining problems.
Rostislav.
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users