-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Milestone
Description
Bug report
can'r make sense of deprecation warning
Code for reproduction
ax=gca()
ax.figbox
Actual outcome
MatplotlibDeprecationWarning:
The figbox attribute was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use get_subplotspec().get_position(self.figure) instead.
Expected outcome
A useful suggestion. I could not make sense from the deprecation or the documentation on how this was supposed to be replaced. I have no idea what object self.figure
refers to, or even in what module get_subplotspec
lives.
Matplotlib version
- Operating system: Fedora 33
- Matplotlib version (
import matplotlib; print(matplotlib.__version__)
): 3.4.1 - Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version: 3.9.4
- Jupyter version (if applicable): IPython 7.22.0
- Other libraries:
pip