Skip to content

Commit b491da0

Browse files
committed
Avoid using Accordion
1 parent 26020cf commit b491da0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openpmd_viewer/openpmd_timeseries/interactive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def step_bw(b):
422422
accord1.set_title(1, 'Slice selection')
423423
accord1.set_title(2, 'Plotting options')
424424
# Complete field container
425-
container_fld = widgets.VBox( children=[accord1, widgets.HBox(
425+
container_fld = widgets.VBox( children=[container_fields, widgets.HBox(
426426
children=[fld_refresh_toggle, fld_refresh_button])])
427427
set_widget_dimensions( container_fld, width=370 )
428428

@@ -512,7 +512,7 @@ def step_bw(b):
512512
accord2.set_title(1, 'Particle selection')
513513
accord2.set_title(2, 'Plotting options')
514514
# Complete particle container
515-
container_ptcl = widgets.VBox( children=[accord2, widgets.HBox(
515+
container_ptcl = widgets.VBox( children=[container_ptcl_quantities, widgets.HBox(
516516
children=[ptcl_refresh_toggle, ptcl_refresh_button])])
517517
set_widget_dimensions( container_ptcl, width=370 )
518518

0 commit comments

Comments
 (0)