rgerum / pylustrator

Visualisations of data are at the core of every publication of scientific research results. They have to be as clear as possible to facilitate the communication of research. As data can have different formats and shapes, the visualisations often have to be adapted to reflect the data as well as possible. We developed Pylustrator, an interface to directly edit python generated matplotlib graphs to finalize them for publication. Therefore, subplots can be resized and dragged around by the mouse, text and annotations can be added. The changes can be saved to the initial plot file as python code.
GNU General Public License v3.0
706 stars 38 forks source link

ModuleNotFoundError: No module named 'matplotlib.axes._subplots' #59

Closed hackerzone85 closed 1 year ago

hackerzone85 commented 1 year ago

(biotite) ddalab@DP7820-WS:Analysis$ python -c 'import pylustrator'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ddalab/anaconda3/envs/biotite/lib/python3.11/site-packages/pylustrator/__init__.py", line 22, in <module>
    from .QtGuiDrag import initialize as start
  File "/home/ddalab/anaconda3/envs/biotite/lib/python3.11/site-packages/pylustrator/QtGuiDrag.py", line 33, in <module>
    from .ax_rasterisation import rasterizeAxes, restoreAxes
  File "/home/ddalab/anaconda3/envs/biotite/lib/python3.11/site-packages/pylustrator/ax_rasterisation.py", line 24, in <module>
    from matplotlib.axes._subplots import Axes
ModuleNotFoundError: No module named 'matplotlib.axes._subplots'
rgerum commented 1 year ago

which matplotlib version are you using?

rgerum commented 1 year ago

ok it appears to have been introduced in matplotlib version 3.6.0