8000 deprecation warning in the wxagg backend as of master · Issue #8718 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
deprecation warning in the wxagg backend as of master #8718
@anntzer

Description

@anntzer

As of master, plotting something on the wxagg backend yields the warning

/home/antony/src/extern/matplotlib/lib/matplotlib/backends/backend_wx.py:1013: MatplotlibDeprecationWarning: The idle_event function was deprecated in version 2.1.
  FigureCanvasBase.idle_event(self, guiEvent=evt)
/home/antony/src/extern/matplotlib/lib/matplotlib/backend_bases.py:1960: MatplotlibDeprecationWarning: The IdleEvent class was deprecated in version 2.1.
  event = IdleEvent(s, self, guiEvent=guiEvent)

Of course we could choose to no longer call self.Bind(wx.EVT_IDLE, self._onIdle) (which ultimately triggers the warning) but if we decide to go with such a compatibility break then we may as well remove all of idle_event in 2.1 instead of going through a deprecation cycle...

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