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

Skip to content

Fix floating-point drift in oscilloscope example #24481

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
Nov 17, 2022

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Nov 17, 2022

PR Summary

I left this running to about 3500s and it had not drifted out of the 2s interval.

Fixes #24476

PR Checklist

Documentation and Tests

  • [n/a] Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • [n/a] New plotting related features are documented with examples.

Release Notes

  • [n/a] New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • [n/a] API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • [n/a] Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

@QuLogic QuLogic added this to the v3.6.3 milestone Nov 17, 2022
Copy link
Member

@oscargus oscargus left a comment

Choose a reason for hiding this comment

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

Looks good!

Not merging as I thought this should go in 3.6-doc? But feel free to self merge as I trust your decision. (I thought I had finally understood the backport aspects...)

"Documentation changes (all .rst files and examples) are milestoned v3.N-doc."

@oscargus
Copy link
Member

(I guess that there can still be some drift in particular cases, but this is for sure better than the previous version and it is also good that the default setting does not drift.)

@tacaswell tacaswell merged commit 8b4bee7 into matplotlib:main Nov 17, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 17, 2022
oscargus added a commit that referenced this pull request Nov 17, 2022
…481-on-v3.6.x

Backport PR #24481 on branch v3.6.x (Fix floating-point drift in oscilloscope example)
@QuLogic QuLogic deleted the fix-oscilloscope-drift branch November 18, 2022 00:07
@QuLogic
Copy link
Member Author

QuLogic commented Nov 18, 2022

You're right it can go to doc as well.

meeseeksdev backport to v3.6.x-doc

@lumberbot-app
Copy link

lumberbot-app bot commented Nov 18, 2022

Something went wrong ... Please have a look at my logs.

It seems that the branch you are trying to backport to does not exist.

@QuLogic
Copy link
Member Author

QuLogic commented Nov 18, 2022

Oops...

meeseeksdev backport to v3.6.2-doc

@QuLogic QuLogic modified the milestones: v3.6.3, v3.6-doc Nov 18, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 18, 2022
ksunden added a commit that referenced this pull request Nov 18, 2022
…481-on-v3.6.2-doc

Backport PR #24481 on branch v3.6.2-doc (Fix floating-point drift in oscilloscope example)
@ksunden ksunden mentioned this pull request Feb 20, 2023
6 tasks
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.

[Doc]: Oscilloscope demo x-axis offset
3 participants