You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A trace on an axis other than x or y ignores zoom; remove the public axes= parameter #84
Figure.add_line, add_histogram, add_boxplot, add_bar and add_histogram2d take a public axes= parameter. The docstring says: "Other anchor ids only change the routing key; the renderer does not draw a second axis for them yet."
A trace on an anchor other than ("x", "y") ignores zoom. _trace_update_range (flexviz/engine.py) keys update_range by axis id, for example "x2". The traces read it by role: hist.py and engine.py read prop_key, hist2d.py reads "x" and "y", and line.py reads "x".
Measured through /dashboard/update, with the viewport at 1000..2000 on a numeric column:
Trace
axes=("x", "y")
axes=("x2", "y2")
hist, bin edges
start 1000, width 100
start 0, width 9999.9
line, x span
1000..2000
0..98067
The cube path has a second fault. engine.py reads backend_data.get(axis), and backend_data is keyed by role, not by axis id. So a temporal zoom on x2 becomes the full data domain, and a hist2d target on y2 skips the full-data gate.
In the browser, the renderer draws every trace on xaxis and emits fig/x. That key does not bind a trace on x2, so the trace never re-aggregates on zoom.
Related: #81 item 2 (axes=("y", "x") maps columns to the wrong axis).
Fix direction
Remove axes= from the public add_* methods until the renderer draws a second axis. Keep the internal ("x", "y") default. When second axes are supported, read update_range by the anchors of the trace, not by role, and fix the backend_data lookup.
Activity
jvdd commentedon Sep 29, 2026
Fixed by #110.