-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the combination logic for overlaying an annotator #98
Conversation
CodSpeed Performance ReportMerging #98 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some suggestions. Notably, handing rasterize
-created dynamicmap alone or when in a layout.
you are welcome to push to this PR. If you do please add test cases too. |
holonote/annotate/annotator.py
Outdated
return other * self.get_element(*other.kdims) | ||
def _get_kdims_from_other_element(self, other): | ||
if isinstance(other, hv.DynamicMap): | ||
other = other.last if other.last is not None else other.callback() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could imagine that other.callback()
need some arguments and keyword arguments to work with streams etc.
Nice, looks good to me. Nice to know about |
This will now make it easier to add across overlays and layouts.