Instead of cliping the data... which is actually changing it - though there may be reasons for that as saturation levels or something else - I would set the levels at plotting, for example:
```python
hmi.peek(vmin = -1500, vmax = 1500)
```

Then we don't need to import numpy or matplotlib.