`ArrayPlotData` now has an `update_data()` method which will do this in one command.