Skip to content

Make infeasible arm red hover outlines 40% opaque#5057

Closed
lena-kashtelyan wants to merge 1 commit into
facebook:mainfrom
lena-kashtelyan:export-D96936657
Closed

Make infeasible arm red hover outlines 40% opaque#5057
lena-kashtelyan wants to merge 1 commit into
facebook:mainfrom
lena-kashtelyan:export-D96936657

Conversation

@lena-kashtelyan
Copy link
Copy Markdown
Contributor

Summary:
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

Differential Revision: D96936657

Summary:
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

Differential Revision: D96936657
@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 18, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 18, 2026

@lena-kashtelyan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96936657.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.30%. Comparing base (4d86dad) to head (50ed973).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5057   +/-   ##
=======================================
  Coverage   96.30%   96.30%           
=======================================
  Files         613      613           
  Lines       66993    66993           
=======================================
+ Hits        64515    64516    +1     
+ Misses       2478     2477    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 19, 2026

This pull request has been merged in 3280609.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants