<jupyter_start><jupyter_text>Visualize image distribution<jupyter_code>import seaborn_image as isns

isns.set_context("notebook")
img = isns.load_image("polymer")
f = isns.imghist(img, describe=True)
f = isns.imghist(img, bins=250)
f = isns.imghist(img, dx=15, units="nm", cmap="YlGnBu_r", cbar_label="Height (nm)")
f = isns.imghist(img, orientation="h", cbar_label="Height (nm)")<jupyter_output>No. of Obs. : 65536
Min. Value : -8.2457214
Max. Value : 43.714034999999996
Mean : 7.456410761947062
Variance : 92.02680396572863
Skewness : 0.47745180538933696
{'fraction_non_alphanumeric': 0.14568345323741008, 'fraction_numerical': 0.1528776978417266, 'mean_word_length': 6.957142857142857, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '658751', 'license': 'MIT', 'n_tokens_mistral': 295, 'n_tokens_neox': 233, 'n_words': 42, 'path': 'docs/Tutorial/Image Distribution.ipynb', 'repo_name': 'SarthakJariwala/seaborn-image', 'size': '556'}