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

Visible widget doesn't update with new 'groupby field' values #124

Closed
droumis opened this issue Jul 10, 2024 · 0 comments · Fixed by #123
Closed

Visible widget doesn't update with new 'groupby field' values #124

droumis opened this issue Jul 10, 2024 · 0 comments · Fixed by #123
Assignees

Comments

@droumis
Copy link
Member

droumis commented Jul 10, 2024

Code
 
 
from holonote.annotate import Annotator 
from holonote.app.tabulator import AnnotatorTable 
from holonote.app import PanelWidgets  
import panel as pn; pn.extension('tabulator')
import holoviews as hv; hv.extension('bokeh')
from holonote.annotate.connector import SQLiteDB

annotator = Annotator({"height": float, "width": float}, fields=["type"],
                      connector=SQLiteDB(filename=':memory:'))
annotator.groupby = "type"
annotator_widgets = pn.Column(PanelWidgets(annotator), AnnotatorTable(annotator))

pn.Column(annotator_widgets, annotator * hv.Image([], ['width', 'height'])).servable()
GMT20240710-004401_Clip_Demetris.Roumis.s.Clip.07_09_2024.mp4
@droumis droumis self-assigned this Jul 10, 2024
@droumis droumis moved this to WIP in CZI R5 neuro Jul 10, 2024
@droumis droumis moved this from WIP to Done in CZI R5 neuro Dec 9, 2024
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

Successfully merging a pull request may close this issue.

1 participant