# \#groupby

**URL:** https://discourse.holoviz.org/tag/groupby/108.md

[Latest](https://discourse.holoviz.org/latest.md) · [Categories](https://discourse.holoviz.org/categories.md) · [Tags](https://discourse.holoviz.org/tags.md)

---

## [How to display selected value in hvplot legend when using widget from groupby?](https://discourse.holoviz.org/t/how-to-display-selected-value-in-hvplot-legend-when-using-widget-from-groupby/5289)

<div class="topic-metadata">

**Author:** [@Rai](https://discourse.holoviz.org/u/Rai)\
**Replies:** 0\
**Last updated:** [May 4, 2023, 8:26pm UTC](https://discourse.holoviz.org/t/how-to-display-selected-value-in-hvplot-legend-when-using-widget-from-groupby/5289 "2023-05-04T20:26:43Z")

</div>

Hi everyone! Anyone knows if there is any way to display the selected value in the widget - when using the groupby option - while plotting with hvplot? I would like it to appear in the legend label. Maybe there is a way…
