Skip to content

Conversation

@shrutipatel31
Copy link
Contributor

Summary:
This diff implements a colorscale in Ax's Arm Effects and Scatter plots if the number of trials (excluding candidate trials) exceeds 10. The changes include -

  1. Using BOTORCH_COLOR_SCALE as the colorscale
  2. Keeping count of the non-candidate and candidate trials that end up being plotted
  3. Calculating if scale needs to be used based on the no. of non-candidate trials that end up in the plot
  4. Updating scale/legend accordingly

Differential Revision: D80104354

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 28, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80104354

@codecov-commenter
Copy link

codecov-commenter commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.12%. Comparing base (68e389d) to head (c616cc4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4220      +/-   ##
==========================================
- Coverage   96.12%   96.12%   -0.01%     
==========================================
  Files         566      566              
  Lines       57445    57492      +47     
==========================================
+ Hits        55220    55264      +44     
- Misses       2225     2228       +3     

☔ 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.

shrutipatel31 added a commit to shrutipatel31/Ax that referenced this pull request Aug 29, 2025
Summary:

This diff implements a colorscale in Ax's Arm Effects and Scatter plots if the number of trials (excluding candidate trials) exceeds 10. The changes include -
1. Using BOTORCH_COLOR_SCALE as the colorscale
2. Keeping count of the non-candidate and candidate trials that end up being plotted
3. Calculating if scale needs to be used based on the no. of non-candidate trials that end up in the plot
4. Updating scale/legend accordingly

Differential Revision: D80104354
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80104354

shrutipatel31 added a commit to shrutipatel31/Ax that referenced this pull request Aug 29, 2025
Summary:
Pull Request resolved: facebook#4220

This diff implements a colorscale in Ax's Arm Effects and Scatter plots if the number of trials (excluding candidate trials) exceeds 10. The changes include -
1. Using BOTORCH_COLOR_SCALE as the colorscale
2. Keeping count of the non-candidate and candidate trials that end up being plotted
3. Calculating if scale needs to be used based on the no. of non-candidate trials that end up in the plot
4. Updating scale/legend accordingly

Differential Revision: D80104354
shrutipatel31 added a commit to shrutipatel31/Ax that referenced this pull request Aug 29, 2025
Summary:

This diff implements a colorscale in Ax's Arm Effects and Scatter plots if the number of trials (excluding candidate trials) exceeds 10. The changes include -
1. Using BOTORCH_COLOR_SCALE as the colorscale
2. Keeping count of the non-candidate and candidate trials that end up being plotted
3. Calculating if scale needs to be used based on the no. of non-candidate trials that end up in the plot
4. Updating scale/legend accordingly

Reviewed By: eonofrey

Differential Revision: D80104354
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80104354

…(1/2) (facebook#4219)

Summary:

This diff modifies the legend for candidate trials in arm effects and scatter plot in Ax's analysis library.
The changes include -
1. Adding a new function to plotly-utils to determine whether a given trial is a candidate trial
2. Unit tests for the new function
3. Adding a new legend label for candidate trials
4. Modifying the code in Arm Effects and Scatter plot to track what trials have been plotted and display the candidate legend accordingly.

Reviewed By: eonofrey

Differential Revision: D79855536
Summary:

This diff implements a colorscale in Ax's Arm Effects and Scatter plots if the number of trials (excluding candidate trials) exceeds 10. The changes include -
1. Using BOTORCH_COLOR_SCALE as the colorscale
2. Keeping count of the non-candidate and candidate trials that end up being plotted
3. Calculating if scale needs to be used based on the no. of non-candidate trials that end up in the plot
4. Updating scale/legend accordingly

Reviewed By: eonofrey

Differential Revision: D80104354
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80104354

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ad665c6.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants