UpSetPlot
UpSetPlot copied to clipboard
matplotlib.tight_layout restricts matplotlib version to 3.5.2
Dear UpSetPlot team,
On an issue related to matplotlib in this repository, I am asking whether this dependency limitation of matplotlib to version 3.5.2 can be considered and fixed to handle matplotlib >=3.6 https://github.com/theislab/superexacttestpy/issues/18
Thank you,
I am not able to get it to work with even matplotlib==3.5.2 - does this work for you @ilibarra?
@0xharib thanks for input. While importing I get no errors when using 3.5.3 (below). The test with 3.5.2 was done by another user, and I can verify it again if you want.
Thank you for additional input and handling this error. Me and others can help finding the source if difficult to detect error/fix it.
rio@NB085081:ignacio.ibarra$ ipython
iPython 3.8.13 (default, Mar 28 2022, 11:38:47)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import matplotlib
In [2]: matplotlib.__version__
Out[2]: '3.5.3'
In [3]: import upsetplot
In [4]:
I also run into an error on matplotlib
3.6:
from matplotlib.tight_layout import get_renderer
ImportError: cannot import name 'get_renderer' from 'matplotlib.tight_layout'
Hello - I am getting the exact same error with matplotlib 3.6.1 despite the fix that is mentioned (#192 )?
import upsetplot
ImportError: cannot import name 'get_renderer' from 'matplotlib.tight_layout'
Yeah - the Pull Request (#192) was not yet approved by @jnothman .
@jnothman, is there any chance of getting this merged?
Hi there! Any progress on #192? I'm running into the same issue as well
Fixed in #192