Python Image Pixel visualize

Oh yea,
in the notebook we used “%matplotlib inline” backend which plots the outputs as images only.
You can instead use “%matplotlib notebook” backend, that opens a matplotlib figure.

Here’s the difference:

If you use regular IDE instead of jupyter notebook, this should be automatic.
Also don’t forget to restart the kernel after changing the backend.