Closed trettelbach closed 2 years ago
Oh it seems that you use an older Matplotlib version where they did not yet have SubFigures. I should make the import of SubFigure optional so pylustrator works also with older Matplotlib versions.
I wrote a fix and released a bugfix version of pylustrator. Your issue should now be solved when you upgrade pylustrator.
Awesome thanks for the quick fix! Works now and I am very amazed.
When importing pylustrator (to run the _examplepylustrator.py script), I get the message
ImportError: cannot import name 'SubFigure' from 'matplotlib.figure
' and looking into the matplotlib.figure documentation, I cannot find any class named 'SubFigure', only 'Figure' or 'SubplotParams'. pylustrator is installed though.Would appreciate any info on this. The tool looks so cool and I'd love to make it work on my machine :)