<commit_before>from SimPEG import EM, np, Utils
import matplotlib.pyplot as plt

def run(plotIt = True):
    """

        Plotting 2D data
        ================

        Often measured data is in 2D, but locations are not gridded.
        Data can be vectoral, hence we want to plot direction and
        amplitude of the vector. Following example use SimPEG's
        analytic function (electric dipole) to generate data<commit_msg>do not plot by default.<commit_after>from SimPEG import EM, np, Utils
import matplotlib.pyplot as plt

def run(plotIt = False):
    """

        Plotting 2D data
        ================

        Often measured data is in 2D, but locations are not gridded.
        Data can be vectoral, hence we want to plot direction and
        amplitude of the vector. Following example use SimPEG's
        analytic function (electric dipole) to generate data
{'fraction_non_alphanumeric': 0.08267270668176671, 'fraction_numerical': 0.004530011325028313, 'mean_word_length': 2.810344827586207, 'pattern_counts': {'":': 0, '<': 3, '<?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': '943329', 'n_tokens_mistral': 241, 'n_tokens_neox': 226, 'n_words': 109}