Should it be possible to filter the _tip_ mark when creating it implicitly via the _tip_ option on a different mark? #2394
Unanswered
mwaibel-go
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Consider this plot definition:
The
tipobject above is passed to to theTipmark constructor, which has no documentedfilteroption. So we cannot actually disable tips based on the displayed data (or generally). I’m wondering if we should.My actual use case involves the need to access the (transformed and binned) data for a mark on hover. I’m trying to avoid duplicating these computations when using the Pointer mark. I was working off of the Histogram selection example, but I don’t need the tip mark.
The same behaviour can be achieved by overriding the render function:
Beta Was this translation helpful? Give feedback.
All reactions