mg-pso-gui 0.1.71__py3-none-any.whl → 0.1.73__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.1.71.dist-info → mg_pso_gui-0.1.73.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.71.dist-info → mg_pso_gui-0.1.73.dist-info}/RECORD +6 -6
- mgpsogui/util/GraphGenerator.py +13 -6
- {mg_pso_gui-0.1.71.dist-info → mg_pso_gui-0.1.73.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.71.dist-info → mg_pso_gui-0.1.73.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.71.dist-info → mg_pso_gui-0.1.73.dist-info}/top_level.txt +0 -0
|
@@ -32,7 +32,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
|
|
|
32
32
|
mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
|
|
33
33
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
|
34
34
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
|
35
|
-
mgpsogui/util/GraphGenerator.py,sha256=
|
|
35
|
+
mgpsogui/util/GraphGenerator.py,sha256=HhUsFUFhCv3wTYV8CTqU0wo56Ph9c1DocPj25AVIAdI,15076
|
|
36
36
|
mgpsogui/util/PSORunner.py,sha256=4T-L4t0I6ogMeT5v7YUaURS-g_WaN0VS2sQLpgMLMs0,4502
|
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
|
|
@@ -46,8 +46,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
|
46
46
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
|
47
47
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
|
48
48
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
|
49
|
-
mg_pso_gui-0.1.
|
|
50
|
-
mg_pso_gui-0.1.
|
|
51
|
-
mg_pso_gui-0.1.
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
49
|
+
mg_pso_gui-0.1.73.dist-info/METADATA,sha256=ax47rzWEwt68wh_do1MD2Fmxu3ZVaFcELzOwLyR7MYg,9458
|
|
50
|
+
mg_pso_gui-0.1.73.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
51
|
+
mg_pso_gui-0.1.73.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
52
|
+
mg_pso_gui-0.1.73.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
53
|
+
mg_pso_gui-0.1.73.dist-info/RECORD,,
|
mgpsogui/util/GraphGenerator.py
CHANGED
|
@@ -303,12 +303,15 @@ def custom_csv(homepage, option_manager):
|
|
|
303
303
|
|
|
304
304
|
yy = pd.to_numeric(data[val], errors="coerce")
|
|
305
305
|
|
|
306
|
-
yy_unit =
|
|
306
|
+
yy_unit = "-"
|
|
307
|
+
if "Unit" in homepage.csv_data["data_attributes"]:
|
|
308
|
+
yy_unit = homepage.csv_data["data_attributes"]["Unit"][val]
|
|
307
309
|
|
|
308
310
|
yy2 = pd.to_numeric(data[val2], errors="coerce")
|
|
309
311
|
|
|
310
312
|
yy2_unit = "-"
|
|
311
|
-
|
|
313
|
+
if "Unit" in homepage.csv_data["data_attributes"]:
|
|
314
|
+
yy2_unit = homepage.csv_data["data_attributes"]["Unit"][val2]
|
|
312
315
|
|
|
313
316
|
fig.add_trace(go.Scatter(x=xx, y=yy, name=val))
|
|
314
317
|
fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2'))
|
|
@@ -377,15 +380,19 @@ def compare_csv(homepage, option_manager):
|
|
|
377
380
|
if x == "time":
|
|
378
381
|
xx2 = pd.to_datetime(data2["time"], format='%Y-%m-%d', errors='coerce')
|
|
379
382
|
elif x == "date":
|
|
380
|
-
data_start_index2 = 5
|
|
381
383
|
xx2 = pd.to_datetime(data2["date"], format='%d-%m-%Y', errors='coerce')
|
|
382
384
|
else:
|
|
383
385
|
xx2 = pd.to_numeric(data2[x], errors="coerce")
|
|
384
386
|
|
|
385
|
-
yy_unit =
|
|
387
|
+
yy_unit = "-"
|
|
388
|
+
if "Unit" in homepage.csv_data["data_attributes"]:
|
|
389
|
+
yy_unit = homepage.csv_data["data_attributes"]["Unit"][val]
|
|
386
390
|
|
|
387
|
-
yy2 = pd.to_numeric(
|
|
388
|
-
|
|
391
|
+
yy2 = pd.to_numeric(data[val2], errors="coerce")
|
|
392
|
+
|
|
393
|
+
yy2_unit = "-"
|
|
394
|
+
if "Unit" in homepage.csv_data["data_attributes"]:
|
|
395
|
+
yy2_unit = homepage.csv_data["data_attributes"]["Unit"][val2]
|
|
389
396
|
|
|
390
397
|
fig.add_trace(go.Scatter(x=xx, y=yy, name=val))
|
|
391
398
|
fig.add_trace(go.Scatter(x=xx2, y=yy2, name=val2, yaxis='y2'))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|