Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Example in View Parameters notebook not updating #49

Open
jlstevens opened this issue May 16, 2018 · 0 comments
Open

Example in View Parameters notebook not updating #49

jlstevens opened this issue May 16, 2018 · 0 comments
Assignees
Labels

Comments

@jlstevens
Copy link
Member

jlstevens commented May 16, 2018

Using holoviews 1.10, I get the following traceback in the web console (View_Parameters.ipynb notebook) when trying to switch to Scatter in the last example:

VM337:45 Python callback returned following output: 
        Traceback (most recent call last):
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/plotting/util.py", line 260, in get_plot_frame
            return map_obj[key]
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/core/spaces.py", line 1128, in __getitem__
            self._cache(tuple_key, val)
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/core/spaces.py", line 1175, in _cache
            self[key] = val
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/core/ndmapping.py", line 523, in __setitem__
            self._add_item(key, value, update=False)
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/core/ndmapping.py", line 160, in _add_item
            self._item_check(dim_vals, data)
          File "/Users/jstevens/Desktop/development/holoviews/holoviews/core/ndmapping.py", line 824, in _item_check
            (self.__class__.__name__, type(data).__name__, self.type.__name__))
        AssertionError: DynamicMap must only contain one type of object, not both Scatter and Curve.

Actually, none of the widgets update that example right now, even just changing frequency and amplitude doesn't work. Eg. changing frequency gives this traceback in the web console:

Python failed with the following traceback: /Users/jstevens/miniconda3/envs/analytics/lib/python3.6/site-packages/traitlets/traitlets.py validate L2054
	TraitError: The 'target_name' trait of a Comm instance must be a unicode string, but a value of CurvePlot(apply_extents=True, apply_ranges=True, bgcolor=None, border=10, default_tools=['save', 'pan', 'wheel_zoom', 'box_zoom', 'reset'], finalize_hooks=[], fontsize={'title': '12pt'}, gridstyle={}, height=300, interpolation='linear', invert_axes=False, invert_xaxis=False, invert_yaxis=False, labelled=['x', 'y'], lod={'factor': 10, 'interval': 300, 'threshold': 2000, 'timeout': 500}, logx=False, logy=False, name='CurvePlot01083', normalize=True, projection=None, shared_axes=True, shared_datasource=True, show_frame=True, show_grid=False, show_legend=True, show_title=True, sizing_mode='fixed', title_format='{label} {group} {dimensions}', toolbar='right', tools=[], width=300, xaxis='bottom', xrotation=None, xticks=None, yaxis='left', yrotation=None, yticks=None) <class 'holoviews.plotting.bokeh.chart.CurvePlot'> was specified.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants