# What is the argument to change the legend title?

**URL:** <https://discourse.julialang.org/t/what-is-the-argument-to-change-the-legend-title/106996>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [December 1, 2023, 2:56pm UTC](https://discourse.julialang.org/t/what-is-the-argument-to-change-the-legend-title/106996 "2023-12-01T14:56:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladdez](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vladdez/32/45806_2.png) [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Post date:** [December 1, 2023, 2:56pm UTC](https://discourse.julialang.org/t/what-is-the-argument-to-change-the-legend-title/106996/1 "2023-12-01T14:56:41Z")

</div>

In Makie documentation I have seen this way to put a label of the legend:

f[1, 2] = Legend(f, ax, “Trig Functions”, framevisible = false)

But is there a way to assing a legend title using some kwarg (argument) like a “framevisable” in this example? I need it to develop a software.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [December 1, 2023, 2:58pm UTC](https://discourse.julialang.org/t/what-is-the-argument-to-change-the-legend-title/106996/2 "2023-12-01T14:58:27Z")

</div>

There’s no attribute for it because a legend can have multiple groups, each with its own title. The version with the positional arg is just one shortcut to create the necessary datastructure in the background for the single-group case. You can feed an observable to that though, which you should be able to change.
