loosolab / TF-COMB

Transcription Factor Co-Occurrence using Market Basket analysis
https://tf-comb.readthedocs.io
MIT License
10 stars 1 forks source link

AttributeError: module 'matplotlib' has no attribute '_version_' #47

Closed hcph closed 1 year ago

hcph commented 1 year ago

Hello, when I import the tfcomb in python 3.8.6, I got this error:

from mpl_toolkits.axes_grid.inset_locator import inset_axes ModuleNotFoundError: No module named 'mpl_toolkits.axes_grid'

Could you please help me to fix it? besh wished and thanks.

msbentsen commented 1 year ago

Hi @hcph ,

Thank you for this issue! Turns out this function was deprecated recently in matplotlib 3.6.0, which we did not take into account - but this is now fixed in TF-COMB 1.0.1! Can you try to install the new version from PyPI again?

hcph commented 1 year ago

Thank you for your quickly and useful reply.  I will try your suggestions. 

hcph commented 1 year ago

Hi @msbentsen,after I install the new version of TF-COMB 1.0.1, the error was gone. Thank you again!