8000 DeprecationWarning: NewId() is deprecated in wxPython. · Issue #12859 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
DeprecationWarning: NewId() is deprecated in wxPython. #12859
Closed
@kierun

Description

@kierun

Bug report

Bug summary

When running tests with pytest and Python 3.6.5, I get a DeprecationWarning: NewId() is deprecated

Code for reproduction

No code but there is some chatter about it on both Google group and the wxPython-users mailing list.

I hope this will help.

Actual outcome

/home/usr/.virtualenvs/raiju/lib/python3.6/site-packages/matplotlib/backends/backend_wx.py:1309                                                                                                                                                                                                                             
  /home/usr/.virtualenvs/raiju/lib/python3.6/site-packages/matplotlib/backends/backend_wx.py:1309: DeprecationWarning: NewId() is deprecated                                                                                                                                                                                
    _NTB_AXISMENU = wx.NewId()

Repeated for each line that uses wx.NewId() from here onwards.

Expected outcome

No deprecation warning shown.

Matplotlib version

  • Operating system: CentOS 7
  • Matplotlib version: 3.0.2
  • Matplotlib backend (print(matplotlib.get_backend())): WXAgg
  • Python version: 3.6.5
  • Jupyter version (if applicable): NA.
  • Other libraries:
    • wxPython 4.0.3

I installed in via pip in a virtual environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0