Note
Click here to download the full example code
Outlier correctionΒΆ
Out:
/home/docs/checkouts/readthedocs.org/user_builds/seaborn-image/envs/v0.4.4/lib/python3.7/site-packages/seaborn_image/_context.py:128: UserWarning: Trying to register the cmap 'deep' which already exists.
register_cmap(name=cmap, cmap=cmap_mpl)
import matplotlib.pyplot as plt
import seaborn_image as isns
img = isns.load_image("polymer outliers")
f, axes = plt.subplots(1, 2)
ax0 = isns.imgplot(img, ax=axes[0], cmap="inferno")
ax1 = isns.imgplot(img, ax=axes[1], robust=True, perc=(2, 99.99), cmap="inferno")
Total running time of the script: ( 0 minutes 0.486 seconds)