We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CROSS POST: bokeh/ipywidgets_bokeh#44
Panel: 0.12.6 Bokeh: 2.4.2 ipywidgets_bokeh: 1.2.1 ipycanvas: 0.10.2 ipykernel: 6.6.0
Raises expected a string or ArrayBuffer, got object.
expected a string or ArrayBuffer, got object
# pip install ipycanvas panel ipywidgets_bokeh import panel as pn from ipycanvas import Canvas pn.extension('ipywidgets') canvas = Canvas(width=200, height=200) # Cubic curves example def draw(): canvas.begin_path() canvas.move_to(75, 40) canvas.bezier_curve_to(75, 37, 70, 25, 50, 25) canvas.bezier_curve_to(20, 25, 20, 62.5, 20, 62.5) canvas.bezier_curve_to(20, 80, 40, 102, 75, 120) canvas.bezier_curve_to(110, 102, 130, 80, 130, 62.5) canvas.bezier_curve_to(130, 62.5, 130, 25, 100, 25) canvas.bezier_curve_to(85, 25, 75, 37, 75, 40) canvas.fill() print("drawn") pn.state.onload(draw) pn.panel(canvas, height=200, width=200).servable()
The text was updated successfully, but these errors were encountered:
This is a Bokeh issue and should be resolved by the recent work on serialization support.
Sorry, something went wrong.
No branches or pull requests
CROSS POST: bokeh/ipywidgets_bokeh#44
Panel: 0.12.6 Bokeh: 2.4.2 ipywidgets_bokeh: 1.2.1 ipycanvas: 0.10.2 ipykernel: 6.6.0
Raises
expected a string or ArrayBuffer, got object
.The text was updated successfully, but these errors were encountered: