Skip to content

Remove the system_monitor example. #11914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2019

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Aug 22, 2018

It drives an animation in a fairly roundabout way (one should just use
plt.pause() (as shown in animation_demo) if not using the animation
framework), and the example title isn't particularly related to the
content either.

OTOH it is one of the oldest examples in the repo, dating back to the
12th overall commit :)

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

It drives an animation in a fairly roundabout way (one should just use
plt.pause() (as shown in animation_demo) if not using the animation
framework), and the example title isn't particularly related to the
content either.

OTOH it is one of the oldest examples in the repo, dating back to the
12th overall commit :)
@tacaswell tacaswell added this to the v3.1 milestone Aug 23, 2018
@tacaswell
Copy link
Member

I kinda like this example....

@anntzer
Copy link
Contributor Author

anntzer commented Aug 23, 2018

Not going to fight about its removal (close the PR if you just want to say no), but I do think that the example is a bit silly...

@timhoffm
Copy link
Member

What's the purpose of the example? Clearly it's not about drawing bars. But:

  • You update the plot in a loop.
  • To do so, you keep references to Artists to change them later on.

That's a bit similar to https://matplotlib.org/devdocs/gallery/animation/animation_demo.html

So the questions are:

  • Is this a pattern we want people to use?
  • Does it contain information not present in the other examples?

If both are yes, we should keep it (and maybe rename it and add a description). If not, we should probably drop it.

@NelleV
Copy link
Member

NelleV commented Sep 14, 2018

I'm in favor of removing it, so 👍 on this PR for me.

@tacaswell tacaswell merged commit 50522fb into matplotlib:master Jan 16, 2019
@NelleV
Copy link
Member

NelleV commented Jan 16, 2019

Thanks @tacaswell and @anntzer !

@tacaswell
Copy link
Member

I think that this is something we should document how to do, but with more context, this should be covered in #4779 .

@anntzer anntzer deleted the remove-sysmon-example branch January 17, 2019 00:20
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.

4 participants