mg-pso-gui 0.1.45__py3-none-any.whl → 0.1.47__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.1.45
3
+ Version: 0.1.47
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -31,7 +31,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
31
31
  mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
32
32
  mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
33
33
  mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
34
- mgpsogui/util/GraphGenerator.py,sha256=X-u8v29JQLCPbDlXgnXhfDVg5kdULfDC2mNpW3fKshM,11692
34
+ mgpsogui/util/GraphGenerator.py,sha256=assVQO_LeiMZWX5U8ma5aYMwl4NvAKiaCCKaa4UrchE,11829
35
35
  mgpsogui/util/PSORunner.py,sha256=wfkrZLysgSS_5BrdFEm8U-0S7DHYpxmHPau_Ec5W8ak,4510
36
36
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
@@ -45,8 +45,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
45
45
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
46
46
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
47
47
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
48
- mg_pso_gui-0.1.45.dist-info/METADATA,sha256=qbnnSKata-KCj7CpheBCFQWviSyG2BaXjS2LlCqMHZU,9458
49
- mg_pso_gui-0.1.45.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
50
- mg_pso_gui-0.1.45.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
51
- mg_pso_gui-0.1.45.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
52
- mg_pso_gui-0.1.45.dist-info/RECORD,,
48
+ mg_pso_gui-0.1.47.dist-info/METADATA,sha256=wIq33fQEgQXtIx_mYkP6m9HXd90S6q6wnGMRTC8nVM8,9458
49
+ mg_pso_gui-0.1.47.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
50
+ mg_pso_gui-0.1.47.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
51
+ mg_pso_gui-0.1.47.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
52
+ mg_pso_gui-0.1.47.dist-info/RECORD,,
@@ -292,8 +292,13 @@ def custom_csv(homepage, option_manager):
292
292
  else:
293
293
  xx = pd.to_numeric(data[x], errors="coerce").iloc[2:]
294
294
 
295
- yy = pd.to_numeric(data[val], errors="coerce").iloc[2:]
295
+ yy = pd.to_numeric(data[val], errors="coerce").iloc[2]
296
+
297
+ yy_unit = data[val].iloc[1]
298
+
296
299
  yy2 = pd.to_numeric(data[val2], errors="coerce").iloc[2:]
300
+
301
+ yy2_unit = data[val2].iloc[1]
297
302
 
298
303
  fig.add_trace(go.Scatter(x=xx, y=yy, name=val))
299
304
  fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2'))
@@ -310,13 +315,13 @@ def custom_csv(homepage, option_manager):
310
315
  gridwidth=1
311
316
  ),
312
317
  yaxis=dict(
313
- title=val,
318
+ title=val + " (" + str(yy_unit) + ")",
314
319
  autorange=True,
315
320
  gridcolor='rgb(72, 72, 72)',
316
321
  gridwidth=0.1
317
322
  ),
318
323
  yaxis2=dict(
319
- title=val2,
324
+ title=val2 + " (" + str(yy2_unit) + ")",
320
325
  overlaying='y',
321
326
  side='right'
322
327
  )