<jupyter_start><jupyter_text>To render in the classic notebook run this line:<jupyter_code>vg.renderers.enable('notebook')<jupyter_output><empty_output><jupyter_text>To render in JupyterLab and nteract, run this<jupyter_code>vg.renderers.enable('default')
vl.renderers.get()(spec)
vl.vegalite(spec, validate=True)
vl.renderers.enable('json')
vl.vegalite(spec, validate=True)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13366336633663367, 'fraction_numerical': 0.0, 'mean_word_length': 11.65625, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '117919', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 157, 'n_tokens_neox': 152, 'n_words': 22, 'path': 'notebooks/VegaLite2Test.ipynb', 'repo_name': 'fedarko/altair', 'size': '404'}