Skip to content

Commit

Permalink
fix support for ipywidgets 8 and remove max pin (#1592)
Browse files Browse the repository at this point in the history
* avoid accessing app.widgets/_active_widgets entirely
* Revert "pin max version of ipywidgets"

This reverts commit 5ac6fe4.
  • Loading branch information
kecnry authored Aug 22, 2022
1 parent 2b26bb1 commit 3bb4523
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ Bug Fixes
and visibility states are now always adopted from the existing entry that would be overwritten.
[#1538]

- Fix support for ipywidgets 8 (while maintaining support for ipywidgets 7). [#1592]

Cubeviz
^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ def resize(stack_items):
# resize tray items
for tray_item in self.state.tray_items:
# access the actual plugin object (there is no store for plugins)
tray_obj = self.widgets.get(tray_item['widget'].split('IPY_MODEL_')[1])
tray_obj = widget_serialization['from_json'](tray_item['widget'], None)
for bqplot_fig in tray_obj.bqplot_figs_resize:
bqplot_fig.layout.height = '99.9%'
bqplot_fig.layout.height = '100%'
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ install_requires =
ipyvuetify>=1.7.0
ipysplitpanes>=0.1.0
ipygoldenlayout>=0.3.0
ipywidgets<8.0
voila>=0.3.5
pyyaml>=5.4.1
specutils>=1.7.0
Expand Down

0 comments on commit 3bb4523

Please sign in to comment.