<jupyter_start><jupyter_text>XKCD plotting<jupyter_code>from ipywidgets import interact
from ricardo import *
mpl_state = plt.rcParams.copy()
plt.xkcd()  # switch to xkcd look
interact(openrppf, mplx=(0.5,2,0.1),mply=(0.5,2,0.1), lbar=(50,200,10),pw=(0.5, 2, 0.1) );<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17905405405405406, 'fraction_numerical': 0.07432432432432433, 'mean_word_length': 7.735294117647059, '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': '637937', 'license': 'MIT', 'n_tokens_mistral': 147, 'n_tokens_neox': 137, 'n_words': 21, 'path': 'notebooks/trade/xkcd_plots.ipynb', 'repo_name': 'jhconning/simpleTeach', 'size': '296'}