def METHOD_NAME(self, *args, **kwargs):
    """Updates any number of arrays before triggering a `data_changed`
    event.
    Useful to set multiple ArrayPlotData entries at once, for example
    because new arrays' dimensions change and updating one at a time would
    break an existing Plot.
    Note: Implements AbstractPlotData's update_data() method.  This method
    has the same signature as the dictionary update() method.
    See Also
    --------
    set_data: Simpler interface to set only 1 entry at a time.
    """
    if not self.writable:
        return None
    data = dict(*args, **kwargs)
    event = {}
    for name in data:
        if name in self.arrays:
            event.setdefault("changed", []).append(name)
        else:
            event.setdefault("added", []).append(name)
    self._update_data(data)
    self.data_changed = event