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
Legend: double-click a series to isolate it (Plotly-style) #505
xy.legend(toggle=True) already lets a single click hide/show one series, and highlight=True dims the others on hover. Requesting a second step: double-clicking a legend entry isolates that series, matching Plotly's legendclick / legenddoubleclick model.
Requested behavior
Single click (unchanged): toggles that entry's series visibility.
Double click:
If the chart isn't already isolated to this series: hide every other
series, leaving only the double-clicked one visible.
If the chart is already isolated to this ser
double-click): restore all series to visible.
Use case
We're evaluating xy as a third plotting backend alongside Plotly/Seaborn, including charts where each legend entry is a data-driven category rather than a handful of manually chosen traces. With more than 3-4 categories, single-click-to-toggle means N-1 clicks to inspect just one series. Double-click-to-isolate is the one-click path we (and Plotly users generally) rely on for that.
Activity