diff options
Diffstat (limited to 'lib/plotter.py')
-rwxr-xr-x | lib/plotter.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/plotter.py b/lib/plotter.py index e4d9926..2398c12 100755 --- a/lib/plotter.py +++ b/lib/plotter.py @@ -6,14 +6,6 @@ import matplotlib.pyplot as plt import re from matplotlib.patches import Polygon -def float_or_nan(n): - if n == None: - return np.nan - try: - return float(n) - except ValueError: - return np.nan - def flatten(somelist): """ Flatten a list. |