Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug summary
It seems a bug has crept in withpoints_to_pixels
not available as a function called byget_window_extent
Code for reproduction
(Pdb)leg2=plt.legend(loc='upper left',ncol=2,fontsize=8)(Pdb)leg2.get_window_extent()***AttributeError:'NoneType'objecthasnoattribute'points_to_pixels'(Pdb)print(matplotlib.__version__)3.4.2(Pdb)print(matplotlib.get_backend())MacOSX(Pdb)importsys;print(sys.version_info)sys.version_info(major=3,minor=9,micro=6,releaselevel='final',serial=0)$jupyter--versionjupytercore :4.7.1jupyter-notebook :6.4.0qtconsole :5.1.1ipython :7.25.0ipykernel :6.0.1jupyterclient :6.1.12jupyterlab :notinstallednbconvert :6.1.0ipywidgets :7.6.3nbformat :5.1.3traitlets :5.0.5
Actual outcome
Error, as above
Expected outcome
I expected to get coords
Operating system
MacOS 11.6
Matplotlib Version
3.4.2
Matplotlib Backend
MacOSX
Python version
3.9.6
Jupyter version
core 4.7.1; notebook 6.4.0
Other libraries
No response
Installation
conda
Conda channel
conda-forge