Skip to content
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

Find robust approach to draw bokeh grid axes #1675

Closed
wjaskowski opened this issue Jul 4, 2017 · 2 comments · Fixed by #1695
Closed

Find robust approach to draw bokeh grid axes #1675

wjaskowski opened this issue Jul 4, 2017 · 2 comments · Fixed by #1695

Comments

@wjaskowski
Copy link

hmap = hv.HoloMap({str(i)+'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa':hv.Curve([1,2,3*i]) for i in range(3)})
hmap.add_dimension('dummy',0,0).grid()

results in

Javascript error adding output!
Error: unsatisfiable constraint
See your browser Javascript console for more details.

in the notebook

Bokeh: BokehJS plotting callback run at Tue Jul 04 2017 12:48:52 GMT+0200 (CEST)
VM1113:121 [bokeh] WidgetBox mode is fixed, but no width specified. Using default of 300.
main.min.js:21348 Error: unsatisfiable constraint
    at t.addConstraint (eval at append_javascript (main.min.js:21632), <anonymous>:177:863)
    at t.add_constraint (eval at append_javascript (main.min.js:21632), <anonymous>:94:6935)
    at e.r.CanvasView.e.set_dims (eval at append_javascript (main.min.js:21632), <anonymous>:117:22590)
    at e.r.PlotCanvasView.e.render (eval at append_javascript (main.min.js:21632), <anonymous>:123:6361)
    at e.r.PlotCanvasView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:123:5779)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
@philippjfr philippjfr added tag: backend: bokeh type: bug Something isn't correct or isn't working labels Jul 4, 2017
@philippjfr philippjfr removed the type: bug Something isn't correct or isn't working label Jul 7, 2017
@philippjfr philippjfr changed the title Javascript error with long labels in HoloMap.grid() Find robust approach to draw bokeh grid axes Jul 7, 2017
@philippjfr
Copy link
Member

Have fixed the concrete issue above but the code that computes the appropriate sizes for the grid axes is somewhat brittle regardless. I've therefore repurposed this issue to find a better approach to draw the GridSpace axes with an appropriate size.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants