Skip to content

cannot import name 'get_renderer' from 'matplotlib.tight_layout #24300

@mlekjaer

Description

@mlekjaer

Hi!

I have an import error: cannot import name 'get_renderer' from 'matplotlib.tight_layout (see below).
Can anyone help?

Output exceeds the size limit. Open the full output data in a text editor

ImportError Traceback (most recent call last)
Cell In [2], line 4
1 #Import modules, packages, functions, etc ...
3 import pandas as pd
----> 4 import scanet as sn

File ~/miniconda3/envs/snOMICS/lib/python3.9/site-packages/scanet/init.py:7
5 from .grn import GRN as grn
6 from .plotting import Visualization as vz
----> 7 from .plottingNetworks import Plot as pl
9 from .download_db import download_db

File ~/miniconda3/envs/snOMICS/lib/python3.9/site-packages/scanet/plottingNetworks.py:13
10 from pandas import DataFrame
11 from pyvis.network import Network
---> 13 from .drug_interactions import DrugInteractions
14 #DrugInteractions = drug_interactions.DrugInteractions
16 import warnings

File ~/miniconda3/envs/snOMICS/lib/python3.9/site-packages/scanet/drug_interactions.py:4
1 import warnings
2 from typing import List, Tuple
----> 4 import drugstone
5 from drugstone import new_task
...
(...)
24 aggregates
25 """

ImportError: cannot import name 'get_renderer' from 'matplotlib.tight_layout' (/home/bbb5130/miniconda3/envs/snOMICS/lib/python3.9/site-packages/matplotlib/tight_layout.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy