-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Range tool is variably and incorrectly present on the target plot in Panel app #5315
Comments
Creating the Panel layout like |
Unfortunately, this workaround causes the target plot and the source plot to be spaced too far apart when served as an app: Which was an issue originally surfaced here. I wonder if there's a way to control the spacing (keeping the plots close) when still preventing the RangeTool issue? |
Can confirm that the original issue ('Range tool is variably and incorrectly present on the target plot in Panel app') is still present in the latest Panel version. The workaround is proving hard to replicate with an MRE.. will keep trying to nail down the issue. |
I'll close this for now.. The issues raised (in both the original implementation and workaround) are still present, but are probably difficult to address and they aren't actually preventing functionality. Ideally, it would be great to have a jslink like RangeToolLink be applied across Panel panes, but I think we'll have to rely on HoloViews for layout for the foreseeable future. |
ALL software version info
Python : 3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:38:11)
[Clang 14.0.6 ]
Operating system : macOS-13.4.1-arm64-arm-64bit
holoviews : 1.17.0a1
bokeh : 3.2.1
colorcet : 3.0.1
cudf : -
dask : 2023.7.1
datashader : 0.15.0
geoviews : -
hvplot : 0.8.3
ibis : -
IPython : 8.14.0
jupyter_bokeh : -
jupyterlab : 3.6.4
matplotlib : 3.7.2
networkx : 3.1
notebook : 6.5.4
numba : 0.57.1
numpy : 1.24.3
pandas : 1.5.3
panel : 1.2.0
param : 1.13.0
PIL : 10.0.0
plotly : -
pyarrow : -
scipy : 1.11.1
skimage : 0.21.0
spatialpandas : -
streamz : -
xarray : 2023.5.0
Description of expected behavior and the observed behavior
When using a Range Tool across plots in a Panel app, the Range tool is variably and incorrectly present on the target plot, even when shared_axes are set to False.
This issue doesn't seem to occur when using a HoloViews Layout like
(data_viewer + minimap).cols(1)
, but of course a hv layout does not provide the same functionality that Panel does so it's not an adequate replacement.Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
Range Tool is correctly absent on top data_viewer plot
No code changed, just re-executed the notebook cell a couple times, and the Range Tool is now incorrectly present on top data_viewer plot
The text was updated successfully, but these errors were encountered: