Commit 3280609
Make infeasible arm red hover outlines 40% opaque (#5057)
Summary:
Pull Request resolved: #5057
Saw the bright red, found it a bit jarring:
{F1986915507}
Updating to (from N9873964):
{F1986917158}
---
Claude stuff
[ax] Make infeasible arm red hover outlines 60% opaque
The red outlines added by D94783502 for infeasible arms in ScatterPlot and
ArmEffectsPlot are fully opaque. This makes them 60% opaque by changing the
INFEASIBLE_OUTLINE_COLOR from 'red' to 'rgba(255, 0, 0, 0.6)', resulting
in a softer visual indicator that is less visually jarring while still
clearly marking constraint violations.
Changes:
- plotly/utils.py: Change INFEASIBLE_OUTLINE_COLOR from 'red' to 'rgba(255, 0, 0, 0.6)'
- Tests: Update test assertions to match new rgba color value
Reviewed By: SebastianAment
Differential Revision: D96936657
fbshipit-source-id: efc2cf593d40e7dc92e6f0ecfab4b4b2c32942dc1 parent 987833b commit 3280609
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments