☰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 remove a tool or a model from chart?

Community Support
Umang_Garg
Umang_Garg

Like we use chart.tools.append to be able to add a tool to a chart, is there a way to remove a tool as well? Also, like we use .visible method to hide/unhide a model, is there a way to delete a model, i.e. delete the glyphs plotted on the chart? I wanna delete because if I hide a model, the legends still don’t get removed.

⌁   Link to post
Bryan
Bryan

Like we use chart.tools.append to be able to add a tool to a chart, is there a way to remove a tool as well?

Yes, just delete the tool from the chart.tools list in any of the standard ways to remove things from lists in Python.

⌁   Link to post

End of archived discussion · Replies are disabled