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

Setting plot size prevents display of scalebar #6448

Closed
1 task
droumis opened this issue Nov 11, 2024 · 1 comment
Closed
1 task

Setting plot size prevents display of scalebar #6448

droumis opened this issue Nov 11, 2024 · 1 comment

Comments

@droumis
Copy link
Member

droumis commented Nov 11, 2024

ALL software version info

Software Version Info
Python              :  3.12.4 | packaged by conda-forge | (main, Jun 17 2024, 10:13:44) [Clang 16.0.6 ]
Operating system    :  macOS-13.5.2-arm64-arm-64bit
Panel comms         :  default

holoviews           :  1.20.0

bokeh               :  3.6.1
colorcet            :  3.1.0
cudf                :  -
cupy                :  -
dask                :  2024.7.1
dask-expr           :  1.1.9
datashader          :  0.16.3
geoviews            :  -
hvplot              :  0.10.0
ibis-framework      :  -
IPython             :  8.26.0
ipywidgets-bokeh    :  -
jupyter-bokeh       :  -
jupyterlab          :  4.2.4
matplotlib          :  3.9.1
networkx            :  -
notebook            :  -
numba               :  0.60.0
numpy               :  2.0.0
pandas              :  2.2.2
panel               :  1.5.3
param               :  2.1.1
pillow              :  10.4.0
plotly              :  -
pyarrow             :  16.1.0
pyviz-comms         :  3.0.2
scikit-image        :  -
scipy               :  1.14.0
spatialpandas       :  -
streamz             :  -
tsdownsample        :  -
xarray              :  2024.6.0

Description of expected behavior and the observed behavior

Setting plot size prevents scalebar from being displayed

Complete, minimal, self-contained example code that reproduces the issue

import holoviews as hv
hv.extension('bokeh')
hv.Curve([1,2]).opts(scalebar=True)  + hv.Curve([1,2]).opts(scalebar=True, width=500)

Stack traceback and/or browser JavaScript console output

Screenshots or screencasts of the bug in action

Image

  • I may be interested in making a pull request to address this
@hoxbro
Copy link
Member

hoxbro commented Nov 12, 2024

This should be fixed when Bokeh 3.6.2 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants