Unable to open image in Jupyter Lab: IOPub data rate exceeded message

Set
jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10 and/or
jupyter lab --NotebookApp.iopub_data_rate_limit=1.0e10