<jupyter_start><jupyter_text>seaborn_altair.catplot<jupyter_code>import numpy as np
import seaborn as sns
import seaborn_altair as salt
exercise = sns.load_dataset("exercise")
display(salt.catplot(x="time", y="pulse", hue="kind", data=exercise, kind="bar"))
g = sns.catplot(x="time", y="pulse", hue="kind", data=exercise, kind="bar")
display(salt.catplot(x="time", y="pulse", hue="kind", data=exercise, kind="bar"))
g = sns.catplot(x="time", y="pulse", hue="kind", data=exercise, kind="violin")
display(salt.catplot(x="kind", y="pulse", col="time", row="diet", kind="bar", data=exercise))
g = sns.catplot(x="time", y="pulse", hue="kind", col="diet", kind="bar", data=exercise)
display(salt.catplot(x="time", y="pulse", row="kind", col="diet", kind="bar", data=exercise))
g = sns.catplot(x="time", y="pulse", row="kind", col="diet", kind="bar", data=exercise)
titanic = sns.load_dataset("titanic")
display(salt.catplot("alive", col="deck",
                     data=titanic[titanic.deck.notnull()],
                     kind="count", height=2.5, aspect=.8))
g = sns.catplot("alive", col="deck", col_wrap=4,
                data=titanic[titanic.deck.notnull()],
                kind="count", height=2.5, aspect=.8)
display(salt.catplot(x="age", y="embark_town",
                     hue="sex", row="class",
                     data=titanic[titanic.embark_town.notnull()],
                     orient="h", height=2, aspect=3.5, palette="Set3",
                     kind="strip"))
g = sns.catplot(x="age", y="embark_town",
                hue="sex", row="class",
                data=titanic[titanic.embark_town.notnull()],
                orient="h", height=2, aspect=3.5, palette="Set3",
                kind="violin", dodge=True, cut=0, bw=.2)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.20642978003384094, 'fraction_numerical': 0.009588268471517203, 'mean_word_length': 3.9005524861878453, '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': '198281', 'license': 'Apache-2.0', 'n_tokens_mistral': 667, 'n_tokens_neox': 619, 'n_words': 102, 'path': 'notebooks/catplot.ipynb', 'repo_name': 'Kitware/seaborn_altair', 'size': '1773'}