Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to select pan as default tool

How can I change the default tool to the pan? On default it’s the zoom tool.
Basically, I want the pan function be enabled on the mode bar on initial state.

Thank you!

2 Likes

var layout = {
dragmode: ‘pan’ or
dragmode:’’
}
dragmode ‘lasso’ or’select’ or’zoom’

Try this.
thx
Lavanya.

1 Like