Skip to content

Conversation

@ctoma73
Copy link
Contributor

@ctoma73 ctoma73 commented Mar 15, 2023

Addressing an issue when activating a RangeTool when using Bokeh. Version 3.1.0 Bokeh introduced breaking changes when activating RangeTool.

Reference Link:
https://github.com/bokeh/bokeh/wiki/Migration-Guides

RangeTool is not a multi GestureTool anymore, thus it can't be activated with Toolbar.active_multi. The tool is now active by default.

Fix:
Adding check if RangeTool is a GestureTool (for backward compatibility) and only then activate the tool. Otherwise on Bokeh 3.1.0 the tool is active by default.

@ianhelle
Copy link
Contributor

/azpipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ianhelle ianhelle merged commit e97deac into microsoft:main Mar 16, 2023
@ctoma73 ctoma73 deleted the bokeh310fixes branch March 17, 2023 00:25
@ianhelle ianhelle added this to the Release 2.4.0 milestone Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants