-
Notifications
You must be signed in to change notification settings - Fork 415
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
Fix matplotlib error in BOPE tutorial #1446
Conversation
This pull request was exported from Phabricator. Differential Revision: D40232488 |
Summary: Pull Request resolved: pytorch#1446 Matplotlib 3.6.1 has a bug with NaN handling (matplotlib/matplotlib#24127), leading to errors when running the tutorial. This implements a workaround, replacing `yerr` with NaNs with `None`. Differential Revision: D40232488 fbshipit-source-id: ccb8dab6d3d8b3798bfbc7aaf5e3f1f1390bfd9d
1591dae
to
696677e
Compare
This pull request was exported from Phabricator. Differential Revision: D40232488 |
Codecov Report
@@ Coverage Diff @@
## main #1446 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 124 124
Lines 11529 11533 +4
=========================================
+ Hits 11529 11533 +4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Also, is there a reason to switch |
Good catch. I must've used an older version of the notebook, will fix. |
Summary: Pull Request resolved: pytorch#1446 Matplotlib 3.6.1 has a bug with NaN handling (matplotlib/matplotlib#24127), leading to errors when running the tutorial. This implements a workaround, replacing `yerr` with NaNs with `None`. Differential Revision: D40232488 fbshipit-source-id: a80a31c42ea4426638dcf864731c72e554729c00
696677e
to
7161188
Compare
This pull request was exported from Phabricator. Differential Revision: D40232488 |
Summary: Matplotlib 3.6.1 has a bug with NaN handling (matplotlib/matplotlib#24127), leading to errors when running the tutorial. This implements a workaround, replacing
yerr
with NaNs withNone
.Differential Revision: D40232488