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
I'm using Seaborn, instead of the artist label I get _child0 for example (number is specific to a line). Interestingly on version 0.5.2-2 (apt default) the label shows intermittently, moving to 0.5.3 (pip latest/default) only x and y.
Thanks for the example. This appears to be because seaborn does not set the label properly on the relevant artist, but rather on a "fake" artist used only for the purposes of drawing the legend (see add_legend_data in seaborn's codebase). I guess they probably intentionally don't set the label at all on the real artist in order to prevent duplicate legend entries, but as a consequence, mplcursors cannot figure out the correct label.
As I don't use seaborn myself, I don't really have any suggestions for a fix.
I'm using Seaborn, instead of the artist label I get _child0 for example (number is specific to a line). Interestingly on version 0.5.2-2 (apt default) the label shows intermittently, moving to 0.5.3 (pip latest/default) only x and y.
The text was updated successfully, but these errors were encountered: