<jupyter_start><jupyter_text>Custom Layout Use the `Layout` class to create a variety of map views for comparison.For more information, run `help(Layout)`.This example uses two different custom layouts. The first with a vertical orientation (2x2) and the second, horizontal (1x4).<jupyter_code>from cartoframes.auth import set_default_credentials

set_default_credentials('cartoframes')
from cartoframes.viz import Map, Layer, Layout

Layout([
    Map(Layer('drought_wk_1')),
    Map(Layer('drought_wk_2')),
    Map(Layer('drought_wk_3')),
    Map(Layer('drought_wk_4'))
], 2, 2)
Layout([
    Map(Layer('drought_wk_1')),
    Map(Layer('drought_wk_2')),
    Map(Layer('drought_wk_3')),
    Map(Layer('drought_wk_4'))
], 1, 4)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13262599469496023, 'fraction_numerical': 0.021220159151193633, 'mean_word_length': 6.330097087378641, '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': '490224', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 277, 'n_tokens_neox': 261, 'n_words': 61, 'path': 'docs/examples/data_visualization/grid_layout/custom_layout.ipynb', 'repo_name': 'CartoDB/cartoframes', 'size': '754'}