plotly_gtk.utils.update_dict

plotly_gtk.utils.update_dict(d, u)

Return a copy of dict d recursively updated with values from dict u.

Parameters:
  • d (dict) – The dictionary to update

  • u (dict) – The dictionary of new values

Returns:

A copy of d updated with values from u

Return type:

dict