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
When setting groupby=..., the values of the dimensions displayed in the select widgets are not sorted by default. The workarounds are:
pre-process the data to sort it
set dynamic=False (default is True): HoloViews will internally instantiate a HoloMap (DynamicMap when dynamic=False) which sorts the values by default (MultiDimensionalMapping.sort is True by default).
When it comes to displaying large datasets, 1. is annoying and 2. is usually not available as setting dynamic=False on a rasterized/datashaded plot is mostly pointless.
Should hvPlot's default behavior be to sort the dimension values (requires holoviz/holoviews#6471)? If so, should we let users disable this? (keywords are easy to add but also come with some drawbacks).
This discussion was converted from issue #1463 on May 12, 2025 20:33.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When setting
groupby=...
, the values of the dimensions displayed in the select widgets are not sorted by default. The workarounds are:dynamic=False
(default isTrue
): HoloViews will internally instantiate a HoloMap (DynamicMap whendynamic=False
) which sorts the values by default (MultiDimensionalMapping.sort
isTrue
by default).When it comes to displaying large datasets, 1. is annoying and 2. is usually not available as setting
dynamic=False
on a rasterized/datashaded plot is mostly pointless.Should hvPlot's default behavior be to sort the dimension values (requires holoviz/holoviews#6471)? If so, should we let users disable this? (keywords are easy to add but also come with some drawbacks).
Beta Was this translation helpful? Give feedback.
All reactions