You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[17], line 7
1 w = PerspectiveWidget(
2 {"a": [1]}
3 )
5 config = w.save()
----> 7 PerspectiveWidget(df, **config)
File /opt/homebrew/Caskroom/miniconda/base/envs/perspective-jupyterlab/lib/python3.11/site-packages/perspective/widget/widget.py:289, in PerspectiveWidget.__init__(self, data, index, limit, server, client, **kwargs)
286 kwargs.update({"columns": config["columns"]})
288 # Initialize the viewer
--> 289 super(PerspectiveWidget, self).__init__(**kwargs)
291 # Handle messages from the the front end
292 # `PerspectiveJupyterClient.send()`:
293 # - The "data" value of the message should be a JSON-serialized string.
294 # - Both `on_msg` and `@observe("value")` must be specified on the
295 # handler for custom messages to be parsed by the Python widget.
296 self.on_msg(self.handle_message)
File /opt/homebrew/Caskroom/miniconda/base/envs/perspective-jupyterlab/lib/python3.11/site-packages/ipywidgets/widgets/widget.py:503, in Widget.__init__(self, **kwargs)
501 """Public constructor"""
502 self._model_id = kwargs.pop('model_id', None)
--> 503 super().__init__(**kwargs)
505 Widget._call_widget_constructed(self)
506 self.open()
TypeError: PerspectiveViewer.__init__() got an unexpected keyword argument 'version'
Environment:
perspective-python 2.7.1, python 3.11.5
Additional Context:
I imagine we need to either ignore the version in the config, or else use it, but I'm lacking context at the moment.
The text was updated successfully, but these errors were encountered:
Bug Report
Steps to Reproduce:
Expected Result:
Widget restores config
Actual Result:
Error is raised:
(open to see screenshot)
Environment:
perspective-python 2.7.1, python 3.11.5
Additional Context:
I imagine we need to either ignore the
version
in the config, or else use it, but I'm lacking context at the moment.The text was updated successfully, but these errors were encountered: