Remove Artist.eventson and Container.eventson by timhoffm · Pull Request #18910 · matplotlib/matplotlib · GitHub
Skip to content

Remove Artist.eventson and Container.eventson - #18910

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
timhoffm:remove-eventson
Nov 17, 2020
Merged

tacaswell merged 1 commit into
matplotlib:masterfrom
timhoffm:remove-eventson

Conversation

@timhoffm

@timhoffm timhoffm commented Nov 6, 2020

Copy link
Copy Markdown
Member

PR Summary

They are unused.

Closes #4877.

@timhoffm timhoffm added this to the v3.4.0 milestone Nov 6, 2020
@QuLogic

QuLogic commented Nov 7, 2020

Copy link
Copy Markdown
Member

@timhoffm

timhoffm commented Nov 7, 2020

Copy link
Copy Markdown
Member Author

@anntzer anntzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

messed up rebase. anyone can dismiss once fixed.

@tacaswell
tacaswell merged commit dbae370 into matplotlib:master Nov 17, 2020
@timhoffm
timhoffm deleted the remove-eventson branch November 17, 2020 20:28
timhoffm added a commit to timhoffm/matplotlib that referenced this pull request Feb 2, 2026
The attribute `eventson` was introduced in 79aa291. While it was
set on and off in various places, there has never been any code that
made logic depend on its state. The attribute itself was removed in
matplotlib#18910, but its toggling through the context manager was overlooked
there.

Note: There is another `eventson` in widgets.py, which is completely
independent on this here, because widgets are not Artists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort out if Artist.eventson is used anywhere and what it's fate should be

4 participants