A community-maintained Python framework for creating mathematical animations.
tuplify bug fix
Grant Sanderson468303c30912
diff --git a/helpers.py b/helpers.pyindex c4b0d7278..bad521f4b 100644--- a/helpers.py+++ b/helpers.py@@ -49,6 +49,8 @@ def complex_to_R3(complex_num):return np.array((complex_num.real, complex_num.imag, 0))def tuplify(obj):+ if isinstance(obj, str):+ return (obj,)try:return tuple(obj)except: