We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cd13c commit e153355Copy full SHA for e153355
LoopStructural/utils/__init__.py
@@ -36,3 +36,4 @@
36
rng = np.random.default_rng()
37
38
from ._surface import LoopIsosurfacer, surface_list
39
+from .colours import random_colour
LoopStructural/utils/colours.py
@@ -1,7 +1,7 @@
1
from LoopStructural.utils import rng
2
3
4
-def random_colour(n: int, cmap='tab20'):
+def random_colour(n: int = 1, cmap='tab20'):
5
"""
6
Generate a list of random colours
7
0 commit comments