Skip to content

Commit 720cb4c

Browse files
committed
Python3 compatibility: fix tab-space indentation inconsistancies
1 parent 0702db8 commit 720cb4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plasma/utils/performance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def hist_alarms(self,alarms,title_str='alarms',save_figure=False):
256256
plt.grid()
257257
plt.title(title_str)
258258
plt.show()
259-
if save_figure:
260-
plt.savefig('accum_disruptions.png',bbox_inches='tight')
259+
if save_figure:
260+
plt.savefig('accum_disruptions.png',bbox_inches='tight')
261261
else:
262262
print(title_str + ": No alarms!")
263263

@@ -360,7 +360,7 @@ def compute_tradeoffs_and_print_from_training(self):
360360
print('============= AT P_THRESH = {} ============='.format(P_thresh_opt))
361361
else:
362362
print('No such P_thresh found')
363-
P_thresh_opt = P_thresh_default
363+
P_thresh_opt = P_thresh_default
364364
print('')
365365

366366
#last index where
@@ -377,7 +377,7 @@ def compute_tradeoffs_and_print_from_training(self):
377377
print('============= AT P_THRESH = {} ============='.format(P_thresh_opt))
378378
else:
379379
print('No such P_thresh found')
380-
P_thresh_opt = P_thresh_default
380+
P_thresh_opt = P_thresh_default
381381
print('')
382382

383383
print('============== Crossing Point: ==============')

0 commit comments

Comments
 (0)