Fix logo zoom behavior in scatter plots

#3
OpenHands org

Fix: Logos should move with zoom

Problem: When zooming in/out on scatter plots, only the line and labels move - the company logos stay fixed in place.

Root Cause: Images used xref="x domain", yref="y domain" which makes them position-relative to the axis range (normalized 0-1), so they don't move with zoom.

Fix: Changed images to use xref="x" (with log10 coordinates) and yref="paper" so logos move horizontally with zoom while maintaining relative vertical positioning.

Files changed:

  • leaderboard_transformer.py: Updated image coordinate references from domain to data coordinates
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