-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
cannot import name 'get_renderer' from 'matplotlib.tight_layout #24300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That doesn't appear to be the entire traceback; it doesn't end in any Matplotlib code but just skips to a line. You also didn't answer any of the information in the template. |
Okay, thanks for your quick answer. input: Output:
|
Just came to the same conclusion as @rcomer. This should have been kept and should probably be restored for the rest of the deprecation period. For now, the easiest way for you @marel11 is probably to just copy the function:
|
Thanks for you help. |
For clarification, of the reopening: We leave issues open until the related fix is merged. |
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)
The text was updated successfully, but these errors were encountered: