A plotly Figure has show() method which accepts a config argument, as per documentation
Figure
show()
config
import plotly.graph_objects as go