forked from facebook/Ax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redo constraint violation indicators and legend on insample and predi…
…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
- Loading branch information
1 parent
9803b25
commit 5f1c669
Showing
3 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters