From 8f1946305254fb75894469805fff250c727124a2 Mon Sep 17 00:00:00 2001 From: Robert Izzard <r.izzard@surrey.ac.uk> Date: Sat, 9 Oct 2021 17:11:43 +0100 Subject: [PATCH] remove self in ANSI_colours function args --- binarycpython/utils/functions.py | 2 +- binarycpython/utils/spacing_functions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py index 9c304b557..2db16b859 100644 --- a/binarycpython/utils/functions.py +++ b/binarycpython/utils/functions.py @@ -67,7 +67,7 @@ def check_if_in_shell(): return in_shell -def ANSI_colours(self): +def ANSI_colours(): # ANSI colours dictionary foreground_colours = { "red": Fore.RED, diff --git a/binarycpython/utils/spacing_functions.py b/binarycpython/utils/spacing_functions.py index a536e1979..bfd5b805f 100644 --- a/binarycpython/utils/spacing_functions.py +++ b/binarycpython/utils/spacing_functions.py @@ -6,6 +6,7 @@ Tasks: """ from typing import Union +import functools import math import numpy as np import py_rinterpolate @@ -101,7 +102,6 @@ def gaussian_zoom( return array - def const_dt(self, dt=1000.0, dlogt=0.1, -- GitLab