<commit_before>"""
Limited tests of the visualization module. Right now it just makes
sure that passing custom Axes works.

"""

from sympy.mpmath import mp, fp

def test_axes():
    try:
        import matplotlib
        version = matplotlib.__version__.split("-")[0]
        version = version.split(".")[:2]
        if map(int, version) < [0,99]:
            raise ImportError<commit_msg>Disable the mpmath test_visualization test<commit_after>"""
Limited tests of the visualization module. Right now it just makes
sure that passing custom Axes works.

"""

# This test either prints something to the terminal or displays a plot,
# depending on whether matplotlib and pylab are installed.  Neither are ideal
# for a test, so let's just skip this entirely.

disabled = True
from sympy.mpmath import mp, fp

def test_axes():
    try:
        import matplotlib
        version = matplotlib.__version__.split("-")[0]
        version = version.split(".")[:2]
        if map(int, version) < [0,99]:
            raise ImportError
{'fraction_non_alphanumeric': 0.0966796875, 'fraction_numerical': 0.009765625, 'mean_word_length': 3.1497975708502026, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '119185', 'n_tokens_mistral': 294, 'n_tokens_neox': 288, 'n_words': 113}