This commit is contained in:
XXAY
2021-09-24 16:05:56 +08:00
parent 04b4cbc2ed
commit 8908b88284
48 changed files with 2472 additions and 520 deletions
+4 -3
View File
@@ -6,13 +6,14 @@ import pandas as pd
from Simple_Drawing.settings import BASE_DIR
url_ = "127.0.0.1:8000"
tools_path = os.path.join(BASE_DIR, "tools_sofa")
url_ = "http://127.0.0.1:8000"
def random_color():
color_list = ["#009688", '#5FB878', '#393D49',
'#1E9FFF', '#FFB800', '#FF5722',
'#01AAED', '#2F4056']
'#1E9FFF', '#FFB800', '#FF5722',
'#01AAED', '#2F4056']
return random.choice(color_list)