<jupyter_start><jupyter_text>Demo Imagegrid Aspect<jupyter_code>import matplotlib.pyplot as plt

from mpl_toolkits.axes_grid1 import ImageGrid
fig = plt.figure()

grid1 = ImageGrid(fig, 121, (2, 2), axes_pad=0.1,
                  aspect=True, share_all=True)

for i in [0, 1]:
    grid1[i].set_aspect(2)


grid2 = ImageGrid(fig, 122, (2, 2), axes_pad=0.1,
                  aspect=True, share_all=True)


for i in [1, 3]:
    grid2[i].set_aspect(2)

plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1364562118126273, 'fraction_numerical': 0.05091649694501019, 'mean_word_length': 3.730769230769231, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '417140', 'license': 'MIT', 'n_tokens_mistral': 221, 'n_tokens_neox': 205, 'n_words': 41, 'path': 'matplotlib/gallery_jupyter/axes_grid1/demo_imagegrid_aspect.ipynb', 'repo_name': 'kingreatwill/penter', 'size': '491'}