loosolab / TOBIAS

Transcription factor Occupancy prediction By Investigation of ATAC-seq Signal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module 'matplotlib.cbook' has no attribute 'mplDeprecation'

liz-is opened this issue · comments

Hi,
I recently installed TOBIAS for a new project and had this issue:

$ TOBIAS --version                                        
Traceback (most recent call last):                                                                                 
  File "/home/egi12/.conda/envs/tobias/bin/TOBIAS", line 7, in <module>                                            
    from tobias.TOBIAS import main                                                                                 
  File "/home/egi12/.conda/envs/tobias/lib/python3.9/site-packages/tobias/TOBIAS.py", line 38, in <module>         
    warnings.filterwarnings("ignore", category=matplotlib.cbook.mplDeprecation)                                    
AttributeError: module 'matplotlib.cbook' has no attribute 'mplDeprecation'   

This is solved by downgrading to matplotlib 3.7.3 from 3.8.1, as was the case here.

Hi, thank you for this issue - please have a look at the closed issue here: #242 (comment)

The error can be solved by downgrading matplotlib or by installing the beta version from the dev branch (until the new version is released).

Whoops sorry, I forgot to check the closed issues first! I'll close this then as it's a duplicate. Good to know the next release has a fix already.