Closed droumis closed 5 months ago
Can you give me some more information? Browser, notebook or server?
It work fine for me:
Issue observed in both the notebook and when serving
Chrome browser Version 124.0.6367.208
Python : 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:35:20) [Clang 16.0.6 ] Operating system : macOS-13.5.2-arm64-arm-64bit Panel comms : default
holoviews : 1.19.0rc3.dev1+g8c99659d0
bokeh : 3.4.1 colorcet : 3.1.0 cudf : - dask : 2024.5.2 datashader : 0.16.2 geoviews : - hvplot : 0.10.0 ibis-framework : - IPython : 8.25.0 jupyter_bokeh : 4.0.5 jupyterlab : 4.2.1 matplotlib : 3.8.4 networkx : - notebook : - numba : 0.59.1 numpy : 1.26.4 pandas : 2.2.2 panel : 1.4.4 param : 2.1.0 pillow : 10.3.0 plotly : - pyarrow : 16.1.0 pyviz_comms : 3.0.2 scikit-image : - scipy : 1.13.1 spatialpandas : - streamz : - tsdownsample : 0.1.3 xarray : 2024.5.0
version:
main
(holonote-0.1.1a2)Code
```python import hvplot.pandas import pandas as pd from holonote.annotate import Annotator, SQLiteDB from holonote.app import PanelWidgets import panel as pn # Setup speed_data = pd.read_parquet("../assets/example.parquet") curve = speed_data.hvplot("TIME", "SPEED") annotator = Annotator( curve, fields=["category"], connector=SQLiteDB(table_name="styling"), ) start_time = pd.date_range("2022-06-04", "2022-06-22", periods=5) end_time = start_time + pd.Timedelta(days=2) data = { "start_time": start_time, "end_time": end_time, "category": ["A", "B", "A", "C", "B"], } annotator.define_annotations(pd.DataFrame(data), TIME=("start_time", "end_time")) # News stuff annotator.groupby = "category" pn.Row(PanelWidgets(annotator), annotator * curve) ```