Disable two finger rotation on Map

In your graph element add some config settings, in this case:

dcc.Graph(id='my-graph',config={'modeBarButtonsToRemove': ['orbitRotation']})

Here you find an overview of all other options to include/exclude:dcc.Graph config options

1 Like