Arguments for update_layout methods

Hi all,

I am trying to find documentation for all of the arguments available to the methods for sliders within update_layout. Using the following help code:


shows that this property “Sets the arguments values to be passed to the Plotly method set in method on slide.”

Investigating the methods available to the slider provides the following information:

Help on property:

Sets the Plotly method to be called when the slider value is
changed. If the `skip` method is used, the API slider will
function as normal but will perform no API calls and will not
bind automatically to state updates. This may be used to create
a component interface and attach to slider events manually via

The 'method' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['restyle', 'relayout', 'animate', 'update', 'skip']


I can’t figure out how to get deeper than this. I’ve tried looking in the source code myself, but I’m a little out of my depth. I can see that these methods are linked to Javascript functions, so maybe if someone could help me find the source code of these functions, I can find the solution.



Because lately more and more questions on args definition were asked here on forum I created a few examples for each method:

update :

Hope they help!!!


Hi @empet The links are not working… They are now.