-
-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Labels
type: bugSomething isn't correct or isn't workingSomething isn't correct or isn't working
Milestone
Description
Software version info
- Bokeh: occurs for at least 3.4.1, 3.3.4, and 3.2.2 but not 2.4.3
- Holoviews: occurs for at least 1.18.3 and 1.18.0 but not 1.17.1
Expected and observed behaviors
When rendered with the Bokeh backend, GridSpace
plots that have one axis lack any tools; the toolbar shows only the Bokeh icon. The behavior I expect is for the plots to have tools, as happens with, e.g., Bokeh 2.4.3 and Holoviews 1.17.1.
Complete, minimal, self-contained example code that reproduces the issue
import holoviews
holoviews.extension("bokeh")
row_grid = holoviews.GridSpace(
{u: holoviews.Labels([(0, 0, u)]) for u in "AB"}, kdims=["u"]
).options(holoviews.opts.Labels(toolbar=None))
row_grid
(The toolbar=None
option works around #6126.)
When one adds another dimension, the GridSpace
renders with tools, as I expect:
col_grid = row_grid.add_dimension("t", 0, "T")
col_grid
However, when one suppresses either axis of that GridSpace
, the result again renders without tools:
col_grid.options(holoviews.opts.GridSpace(yaxis=None))
col_grid.options(holoviews.opts.GridSpace(xaxis=None))
(The vertical shift of the u axis is another problem.)
With Bokeh 2.4.3 and Holoviews 1.17.1, all four of the above plots have full toolbars.
- I may be interested in making a pull request to address this
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't correct or isn't workingSomething isn't correct or isn't working