Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).

```py
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
image = np.array(Image.open('photo_benjamin_loison.jpg'))
_, axes = plt.subplots(4)
for peakIndex, PEAK in enumerate([0.1, 0.3, 0.7, 1]):
noisy = np.random.poisson(image / 255.0 * PEAK) / PEAK * 255
axes[peakIndex].imshow(noisy)
plt.show()
```
```
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).
```
Based on [the Stack Overflow answer 36331042](https://stackoverflow.com/a/36331042).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Based on the Stack Overflow answer 36331042.