-
Notifications
You must be signed in to change notification settings - Fork 310
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
Redo constraint violation indicators and legend on inample and predicted plots #2955
Conversation
This pull request was exported from Phabricator. Differential Revision: D64850289 |
…cted plots (facebook#2955) Summary: Instead of varying sizing, we're adding a red outline of varying opacity based on the overall probability of constraint violation. There is a hack to make sure the outlines don't appear in the legend, as the legend normally reflects the first point in each group. We're hiding the original and creating a duplicate group of the same name at point (None, None). In doing this, we give up the ability to toggle points on and off the graph by clicking on their legend item, which I just discovered existed. {F1944580069} Differential Revision: D64850289
c0ccf7b
to
ffe329b
Compare
This pull request was exported from Phabricator. Differential Revision: D64850289 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2955 +/- ##
=======================================
Coverage 95.68% 95.68%
=======================================
Files 504 504
Lines 49547 49559 +12
=======================================
+ Hits 47411 47423 +12
Misses 2136 2136 ☔ View full report in Codecov by Sentry. |
…cted plots (facebook#2955) Summary: Instead of varying sizing, we're adding a red outline of varying opacity based on the overall probability of constraint violation. There is a hack to make sure the outlines don't appear in the legend, as the legend normally reflects the first point in each group. We're hiding the original and creating a duplicate group of the same name at point (None, None). In doing this, we give up the ability to toggle points on and off the graph by clicking on their legend item, which I just discovered existed. {F1944580069} Reviewed By: ItsMrLin Differential Revision: D64850289
…cted plots (facebook#2955) Summary: Instead of varying sizing, we're adding a red outline of varying opacity based on the overall probability of constraint violation. There is a hack to make sure the outlines don't appear in the legend, as the legend normally reflects the first point in each group. We're hiding the original and creating a duplicate group of the same name at point (None, None). In doing this, we give up the ability to toggle points on and off the graph by clicking on their legend item, which I just discovered existed. {F1944580069} Reviewed By: ItsMrLin Differential Revision: D64850289
5f1c669
to
59237ad
Compare
This pull request was exported from Phabricator. Differential Revision: D64850289 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D64850289 |
This pull request has been merged in f6bf492. |
Summary:
Instead of varying sizing, we're adding a red outline of varying opacity based on the overall probability of constraint violation.
There is a hack to make sure the outlines don't appear in the legend, as the legend normally reflects the first point in each group. We're hiding the original and creating a duplicate group of the same name at point (None, None). In doing this, we give up the ability to toggle points on and off the graph by clicking on their legend item, which I just discovered existed.
{F1944580069}
Differential Revision: D64850289