Skip to content

Guarantee square interactive calibration panels - #311

Merged
uriahf merged 3 commits into
mainfrom
agent/square-interactive-calibration
Aug 18, 2026
Merged

Guarantee square interactive calibration panels#311
uriahf merged 3 commits into
mainfrom
agent/square-interactive-calibration

Conversation

@uriahf

@uriahf uriahf commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What changed

  • constrain the upper Plotly calibration panel to a 1:1 predicted/observed scale
  • apply the same behavior to create_calibration_curve() and create_calibration_curve_times()
  • leave the histogram y-axis unconstrained
  • assert that x/y zoom ranges remain identical

Why

A square overall Plotly widget does not guarantee a square calibration panel when a histogram occupies the lower subplot. The aspect constraint now applies specifically to the calibration panel.

Validation

Added focused tests for ordinary and time-dependent interactive calibration plots, including the histogram non-constraint.

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-18 08:19 UTC

@uriahf
uriahf marked this pull request as ready for review August 18, 2026 08:17
@uriahf
uriahf merged commit 04a2291 into main Aug 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant