Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbae370

Browse files
authored
Merge pull request #18910 from timhoffm/remove-eventson
API: Remove Artist.eventson and Container.eventson
2 parents 514aff5 + 5e5918a commit dbae370

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``Artist.eventson`` and ``Container.eventson``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
These attributes have no effect and thus have been removed.

lib/matplotlib/artist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def __init__(self):
118118
# Normally, artist classes need to be queried for mouseover info if and
119119
# only if they override get_cursor_data.
120120
self._mouseover = type(self).get_cursor_data != Artist.get_cursor_data
121-
self.eventson = False # fire events only if eventson
122121
self._callbacks = cbook.CallbackRegistry()
123122
try:
124123
self.axes = None

lib/matplotlib/container.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def __new__(cls, *args, **kwargs):
1818
return tuple.__new__(cls, args[0])
1919

2020
def __init__(self, kl, label=None):
21-
self.eventson = False # fire events only if eventson
2221
self._callbacks = cbook.CallbackRegistry()
2322
self._remove_method = None
2423
self.set_label(label)

0 commit comments

Comments
 (0)