Double click/Reset view button to reset zoom doesn't restore the graph to its original axis range

There seems to be a fix involving custom javascript to change the behavior of the ‘reset view’ button:

I wonder if we could use this in combination with the modeBarButtonsToAdd config option to dcc.Graph (Graph | Dash for Python Documentation | Plotly):

modeBarButtonsToAdd (list; optional): Add mode bar button using config objects - modeBarButtons (boolean | number | string | dict | list; optional): Fully custom mode bar buttons as nested array, where the outer arrays represents button groups, and the inner arrays have buttons config objects or names of default buttons