# CairoMakie - how set a name for a figure?

**URL:** <https://discourse.julialang.org/t/cairomakie-how-set-a-name-for-a-figure/100522>\
**Category:** Visualization\
**Created:** [June 18, 2023, 4:33pm UTC](https://discourse.julialang.org/t/cairomakie-how-set-a-name-for-a-figure/100522 "2023-06-18T16:33:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeteS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petes/32/8111_2.png) [@PeteS](https://discourse.julialang.org/u/PeteS)\
**Post date:** [June 18, 2023, 4:33pm UTC](https://discourse.julialang.org/t/cairomakie-how-set-a-name-for-a-figure/100522/1 "2023-06-18T16:33:18Z")

</div>

Hi, I’m using CairoMakie in VSCode, viewing the plots in the Julia Plots tab and switching between them using the Plot Navigator of the Julia extension tab. Is there any way to set a meaningful name of a Figure() so that I see something other than Plot1, Plot2, etc.?

---

<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:** [June 18, 2023, 5:37pm UTC](https://discourse.julialang.org/t/cairomakie-how-set-a-name-for-a-figure/100522/2 "2023-06-18T17:37:59Z")

</div>

I’m not aware of a way to set a name for a plot displayed in VSCode, so it’s not Makie-specific per se. If there is a way, it would be by sending additional attributes via an IOContext probably, but I haven’t seen anything like it in use, yet

---

<div class="post-metadata">

**Author:** ![PeteS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petes/32/8111_2.png) [@PeteS](https://discourse.julialang.org/u/PeteS)\
**Post date:** [June 19, 2023, 8:55am UTC](https://discourse.julialang.org/t/cairomakie-how-set-a-name-for-a-figure/100522/3 "2023-06-19T08:55:34Z")

</div>

Thanks
