<commit_before>#
# This program contains classes for managing and visualising data 
# produced by fluid simulation programs.
#
# Version: 1.1.7
#
# State: Functional
#
# Last modified 20.05.2017 by <NAME>
#
import numpy as np
import matplotlib as mpl
mpl.use('TkAgg')                # Ensure that the Tkinter backend is used for generating figures
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable, axes_size
import matplotlib.animation
import os, sys, time, datetime, struct


' *** For Windows users: Specify path to ffmpeg (required for saving animations) *** '

#plt.rcParams['animation.ffmpeg_path'] = r'<My path to ffmpeg folder>\ffmpeg\bin\ffmpeg'

class FluidVisualiser:

    'Class containing methods for visualising data generated by a fluid simulation.'
<commit_msg>Don't clear 1D axis, and disable blitting, if saving animation<commit_after>#
# This program contains classes for managing and visualising data 
# produced by fluid simulation programs.
#
# Version: 1.1.7
#
# State: Functional
#
# Last modified 20.05.2017 by <NAME>
#
import numpy as np
import matplotlib as mpl
mpl.use('TkAgg')                # Ensure that the Tkinter backend is used for generating figures
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable, axes_size
import matplotlib.animation
import os, sys, time, datetime, struct


' *** For Windows users: Specify path to ffmpeg (required for saving animations) *** '

#plt.rcParams['animation.ffmpeg_path'] = r'<My path to ffmpeg folder>\ffmpeg\bin\ffmpeg'


class FluidVisualiser:

    'Class containing methods for visualising data generated by a fluid simulation.'

{'fraction_non_alphanumeric': 0.08035714285714286, 'fraction_numerical': 0.01488095238095238, 'mean_word_length': 4.584717607973422, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '854945', 'n_tokens_mistral': 532, 'n_tokens_neox': 496, 'n_words': 189}