Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/api/next_api_changes/deprecations/26894-AL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*interval* parameter of ``TimerBase.start``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Setting the timer *interval* while starting it is deprecated. The interval can
be specified instead in the timer constructor, or by setting the
``timer.interval`` attribute.
1 change: 1 addition & 0 deletions lib/matplotlib/backend_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ def __del__(self):
"""Need to stop timer and possibly disconnect timer."""
self._timer_stop()

@_api.delete_parameter("3.9", "interval", alternative="timer.interval")
def start(self, interval=None):
"""
Start the timer object.
Expand Down