'how to use plotly update_xaxes(exponentformat='SI') in option i.e .opts with interactive hvplot

I am using this example https://towardsdatascience.com/the-easiest-way-to-create-an-interactive-dashboard-in-python-77440f2511d1 but trying to use plotly method fig.update_xaxes(exponentformat='SI') to change the tickformat on x axis of the interactive hvplot. I have tried ihvplot.opts (layout = l) where l is a layout object of the type and ihv is interactive hvplot as described in the example linked above

Layout({
    'autosize': False,
    'height': 300,
    'margin': {'b': 50, 'l': 50, 'pad': 4, 'r': 50, 't': 50},
    'template': '...',
    'title': {'text': ''},
    'uirevision': True,
    'width': 700,
    'xaxis': {'automargin': False,
              'exponentformat': 'SI'}
})

but no luck. Is there anyway to update 'xaxis' in the interactive hvplot?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source