Removing the option to allow users to utilize lasso and box select feature

Hello everyone! As the title says, I was wondering how I could go about disabling the lasso-select and box select feature. I am trying to do this because I don’t want users being able to use the selection tools for certain visualizations in my interface.

If anyone here knows how to disable these two buttons please let me know!
image

Customization of the mode bar is described in this reference. For example, for 2D graphs, select and lasso are applicable.

fig.show(
    config={'modeBarButtonsToRemove': ['select', 'lasso']}
)