<jupyter_start><jupyter_text>JupyterHub Integration Tests<jupyter_code>import pandas as pd
import plotly.offline as py
import plotly.figure_factory as ff

use_cdn = True  # use CDN, or embed about 6 MiB of JS?
py.init_notebook_mode(connected=use_cdn)

problems = []
def problem(msg, *args, **kwargs):
    """Record a problem."""
    problems.append(msg.format(*args, **kwargs))<jupyter_output><empty_output><jupyter_text>Common Problems Pillow installation with freetype support?<jupyter_code>from PIL import ImageFont
try:
    ImageFont.truetype('arial', 10)
except ImportError as cause:
    problem('Pillow fonts: {}', cause)<jupyter_output><empty_output><jupyter_text>Summary<jupyter_code>table = ff.create_table(pd.DataFrame(problems, columns=['Message']))
py.iplot(table)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12034739454094293, 'fraction_numerical': 0.0037220843672456576, 'mean_word_length': 7.67741935483871, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '212931', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 298, 'n_tokens_neox': 279, 'n_words': 58, 'path': 'docs/tests/extras.ipynb', 'repo_name': 'Jaapdijkshoorn/debianized-jupyterhub', 'size': '806'}