Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'FigureManager' is an undefined name in backend_wx.py #10502

Closed
cclauss opened this issue Feb 16, 2018 · 1 comment · Fixed by #10689
Closed

'FigureManager' is an undefined name in backend_wx.py #10502

cclauss opened this issue Feb 16, 2018 · 1 comment · Fixed by #10689
Milestone

Comments

@cclauss
Copy link

cclauss commented Feb 16, 2018

flake8 testing of https://github.com/matplotlib/matplotlib on Python 3.6.4

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./lib/matplotlib/backends/backend_wx.py:1485:18: F821 undefined name 'FigureManager'
        figmgr = FigureManager(canvas, 1, self)
                 ^
./lib/matplotlib/backends/backend_wx.py:1548:18: F821 undefined name 'FigureManager'
        figmgr = FigureManager(canvas, 1, frame)
                 ^
@tacaswell
Copy link
Member

These are injected via the

class decorator at the bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants