UpSetPlot
UpSetPlot copied to clipboard
Fixed issue: matplotlib.tight_layout restricts matplotlib version to 3.5.2 (#191)
The changes below should allow UpSetPlot to support matplotlib versions both above and below 3.5.2, fixing issue #191:
matplotlib.tight_layout.get_renderer is no longer imported when matplotlib version is >3.5.2, as it has been deprecated in matplotlib>3.5.2, and is no longer required in these versions when calling get_window_extent().
get_window_extent no longer takes argument 'renderer' when matplotlib version is >3.5.2 (as appropriate for matplotlib>3.5.2 changes).
All tests passed on my setup (Windows 10, Python 3.9, matplotlib version 3.6.1).