☰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

What replaced ActionToolButtonView?

Community Support
quite68
quite68

We have a custom legend tool implemented with Bokeh 2.4.3 (see below). I’m trying to migrate to Bokeg 3.4.1 but ActionToolButtonView seems to have gone and I’m not sure what has replaced it. How can I modify this code so it works with Bokeh 3? This issue is preventing me from upgrading.

import { ActionTool, ActionToolView, ActionToolButtonView } from "models/tools/actions/action_tool"
import { Legend } from "models/annotations/legend"


// View for toolbar icon for this tool
export class LegendToolButtonView extends ActionToolButtonView {
    _clicked() {
        if (this._menu) {
            this._menu.show();
        }
    }
}
LegendToolButtonView.__name__ = "LegendToolButtonView";
⌁   Link to post

End of archived discussion · Replies are disabled