matplotlib / matplotlib/ipympl
DepreciationWarning in toolbar causes AttributeError
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
Describe the issue
Accessing toolbar properties causes AttributeError: 'super' object has no attribute '__getattr__'
The problematic lines are here:
This is most probably caused by the mixin-style classes ... a explanation (and a possible solution) might be this:
https://stackoverflow.com/a/28864246/9703451
Versions
3.11.3 | packaged by conda-forge | (main, Apr 6 2023, 08:50:54) [MSC v.1934 64 bit (AMD64)]
ipympl version: 0.9.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading ipympl/backend_nbagg.py at lines 162-170 and reproduce toolbar property access with the reported Python 3.11.3 and ipympl 0.9.3 versions. Check the mixin-style class behavior described in the linked discussion. Done means toolbar properties no longer emit the warning or raise the reported AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100