-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
compat: Bokeh 3.7 #6529
compat: Bokeh 3.7 #6529
Conversation
@@ -220,8 +220,12 @@ def test(): | |||
assert s.xs == {'x': np.datetime64('2024-01-12T13:26:44.819277')} | |||
assert s.xs == {'x': np.datetime64('2024-01-12T13:26:44.819277')} | |||
assert len(s.ys) == 2 | |||
assert np.isclose(s.ys["y1"], 18.130705394191) | |||
assert np.isclose(s.ys["y2"], 76.551867219917) | |||
if BOKEH_GE_3_7_0: |
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.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6529 +/- ##
==========================================
- Coverage 88.79% 88.79% -0.01%
==========================================
Files 323 323
Lines 68951 68955 +4
==========================================
+ Hits 61227 61229 +2
- Misses 7724 7726 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -414,6 +418,7 @@ async def popup_form(x, y): | |||
locator = page.locator(".bk-btn") | |||
expect(locator).to_have_count(2) | |||
|
|||
@pytest.mark.filterwarnings("ignore:reference already known") |
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 tried to see if I could figure out where this was coming from but without luck. It is the button ID that is flagged.
import numpy as np
import panel as pn
import holoviews as hv
hv.extension("bokeh")
rng = np.random.default_rng(10)
points = hv.Points(rng.normal(size=(1000, 2)))
def popup_form(x, y):
def hide(_):
button.visible = False
button = pn.widgets.Button(name=f"{x},{y}", on_click=hide)
return button
points.opts(tools=["tap"])
hv.streams.Tap(source=points, popup=popup_form)
pn.panel(points).servable()
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.
@philippjfr, you are welcome to give it a go.
Two failing UI tests.