Fix logo/label zoom sync in scatter plots

#4
OpenHands org

Fix: Logos and labels should zoom/pan together

Problem: When zooming on scatter plots, logos and labels moved separately and ended up misaligned.

Root Cause: Different coordinate systems - logos used domain/paper refs while labels used data coords.

Fix:

  • Changed logos to use xref="x", yref="y" with same data coordinates as labels
  • Y offset of 0.8 score units for stacked logos
  • Size scaled by axis range to maintain aspect ratio when zooming

Files changed:

  • leaderboard_transformer.py: Unified coordinate system for logos and labels
juan-all-hands changed pull request status to open
juan-all-hands changed pull request status to merged

Sign up or log in to comment