☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to return figure name for curdoc?

Community Support
p-himik
p-himik

There’s no robust way to do that since you can potentially call add_root multiple times or call it not on the figure directly but on some layout primitive.

Just store the name in a variable and use that variable inside the plot function, or pass it as a parameter.

⌁   Link to post

End of archived discussion · Replies are disabled