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
3 changes: 3 additions & 0 deletions doc/api/next_api_changes/removals/18909-TH.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
``Artist.eventson`` and ``Container.eventson``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These attributes have no effect and thus have been removed.
1 change: 0 additions & 1 deletion lib/matplotlib/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def __init__(self):
# Normally, artist classes need to be queried for mouseover info if and
# only if they override get_cursor_data.
self._mouseover = type(self).get_cursor_data != Artist.get_cursor_data
self.eventson = False # fire events only if eventson
self._callbacks = cbook.CallbackRegistry()
try:
self.axes = None
Expand Down
1 change: 0 additions & 1 deletion lib/matplotlib/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def __new__(cls, *args, **kwargs):
return tuple.__new__(cls, args[0])

def __init__(self, kl, label=None):
self.eventson = False # fire events only if eventson
self._callbacks = cbook.CallbackRegistry()
self._remove_method = None
self.set_label(label)
Expand Down