Skip to content

Guarantee square interactive calibration panel - #145

Draft
uriahf wants to merge 2 commits into
mainfrom
agent/square-interactive-calibration
Draft

Guarantee square interactive calibration panel#145
uriahf wants to merge 2 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 interactive Plotly calibration panel to a 1:1 predicted/observed scale
  • retain the existing shared zoom range and 5% padding behavior
  • leave the histogram y-axis unconstrained
  • cover both discrete and smooth interactive calibration plots

Why

The full Plotly widget also contains the histogram, so equal widget width/height does not guarantee that the calibration panel itself is square.

Validation

Added a focused Plotly-layout test checking equal x/y ranges, scaleanchor, scaleratio, and that the histogram remains unconstrained.

github-actions Bot added a commit that referenced this pull request Aug 18, 2026
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