For questions, use https://discourse.holoviz.org/ instead! This chat is for informal discussions and debugging sessions with developers of the HoloViz.org tools (HoloViews, Datashader, Panel, hvPlot, GeoViews, Param, etc.), but user questions should go to the HoloViz Discourse site so that others won't have to ask them again.
philippjfr on highlight_operation
Use df._meta for empty df (compare)
philippjfr on highlight_operation
Fix reduce on empty element Null test over mask area (compare)
jlstevens on highlight_operation
Unchained transformers (compare)
philippjfr on highlight_operation
Correctly look up vdims (compare)
philippjfr on highlight_operation
Fix flake (compare)
philippjfr on highlight_operation
Remove vdims reference (compare)
Anyone else have issues with bokeh after creating a fresh env (as of yesterday)? I'm getting
(unknown) [bokeh] JS/Python version mismatch
(unknown) [bokeh] Library versions: JS (2.2.1) / Python (2.2.3)
Apologies if this is the wrong place, but the Bokeh gitter doesn't seem to be a thing anymore.
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/plotting/plot.py in compute_ranges(self, obj, key, ranges)
633 if (not (axiswise and not isinstance(obj, HoloMap)) or
634 (not framewise and isinstance(obj, HoloMap))):
--> 635 self._compute_group_range(group, elements, ranges, framewise, self.top_level)
636 self.ranges.update(ranges)
637 return ranges
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/plotting/plot.py in _compute_group_range(cls, group, elements, ranges, framewise, top_level)
786 values = el.nodes.dimension_values(2, expanded=False)
787 else:
--> 788 values = el.dimension_values(el_dim, expanded=False)
789 elif isinstance(el, Graph) and el_dim in el.nodes:
790 values = el.nodes.dimension_values(el_dim, expanded=False)
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/core/data/__init__.py in pipelined_fn(*args, **kwargs)
214
215 try:
--> 216 result = method_fn(*args, **kwargs)
217
218 op = method_op.instance(
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/core/data/__init__.py in dimension_values(self, dimension, expanded, flat)
1069 """
1070 dim = self.get_dimension(dimension, strict=True)
-> 1071 return self.interface.values(self, dim, expanded, flat)
1072
1073
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/core/data/xarray.py in values(cls, dataset, dim, expanded, flat, compute, keep_index)
376 if not keep_index:
377 data = cls.canonicalize(dataset, data, data_coords=data_coords,
--> 378 virtual_coords=virtual_coords)
379 return data.T.flatten() if flat and not keep_index else data
380 elif expanded:
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/core/data/grid.py in canonicalize(cls, dataset, data, data_coords, virtual_coords)
341
342 if not any(cls.irregular(dataset, d) for d in dataset.kdims):
--> 343 inds = [dims.index(kd.name) for kd in dataset.kdims]
344 inds = [i - sum([1 for d in dropped if i>=d]) for i in inds]
345 if inds:
~/anaconda3/envs/py3/lib/python3.7/site-packages/holoviews/core/data/grid.py in <listcomp>(.0)
341
342 if not any(cls.irregular(dataset, d) for d in dataset.kdims):
--> 343 inds = [dims.index(kd.name) for kd in dataset.kdims]
344 inds = [i - sum([1 for d in dropped if i>=d]) for i in inds]
345 if inds:
ValueError: 'lon' is not in lis
any thoughts on why this is happening for a geographic map NdLayout made through hvplot?
:NdLayout [var,group]
:HoloMap [tau_day,season,region]
:Image [lon,lat] (values,var)
Hi everyone!
I need help with my university project.
We want to use Clifford Attractors to give Arduino robot trajectories to achieve Light Painting Artworks.
So we used https://examples.pyviz.org/attractors/attractors.html to get the points, but we are in a deadlock.
We can't use all the points, so we need to "filter" the data frame to obtain the point coordinates that appear most frequently (in any case, the regions of points) to get usable data for the trajectories of our robots.
Do you think anyone can help me?
PS: I am French. Please excuse my spelling.