# Paths do not display legends by default

**URL:** <https://discourse.holoviz.org/t/paths-do-not-display-legends-by-default/2252>\
**Category:** HoloViews\
**Created:** [May 4, 2021, 1:45am UTC](https://discourse.holoviz.org/t/paths-do-not-display-legends-by-default/2252 "2021-05-04T01:45:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ea42gh](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ea42gh/32/73_2.png) [@ea42gh](https://discourse.holoviz.org/u/ea42gh)\
**Post date:** [May 4, 2021, 1:45am UTC](https://discourse.holoviz.org/t/paths-do-not-display-legends-by-default/2252/1 "2021-05-04T01:45:01Z")

</div>

Just got bit by this again: `hv.Path(data, label='set_1' )` dows not display the legend.

There is a show\_legend option that must be set explicitely.

```auto
hv.Path(data, label='set_1').opts( show_legend=True)

```

---

<div class="post-metadata">

**Author:** ![ea42gh](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ea42gh/32/73_2.png) [@ea42gh](https://discourse.holoviz.org/u/ea42gh)\
**Post date:** [May 4, 2021, 1:46am UTC](https://discourse.holoviz.org/t/paths-do-not-display-legends-by-default/2252/2 "2021-05-04T01:46:01Z")

</div>

Path does not set `show_legend=True` by default.
