File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
physical_ai_server/physical_ai_server/evaluation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919import os
2020from typing import List
2121
22- import numpy as np
2322import matplotlib .pyplot as plt
23+ import numpy as np
2424
2525
2626class VisualizationManager :
@@ -245,14 +245,15 @@ def plot_episode_mse_distribution(
245245 stats_text += f'Min: { np .min (episode_mses ):.4f} \n '
246246 stats_text += f'Max: { np .max (episode_mses ):.4f} '
247247
248+ bbox = {'boxstyle' : 'round' , 'facecolor' : 'white' , 'alpha' : 0.8 }
248249 ax .text (
249250 0.98 ,
250251 0.98 ,
251252 stats_text ,
252253 transform = ax .transAxes ,
253254 verticalalignment = 'top' ,
254255 horizontalalignment = 'right' ,
255- bbox = dict ( boxstyle = 'round' , facecolor = 'white' , alpha = 0.8 )
256+ bbox = bbox
256257 )
257258
258259 plt .tight_layout ()
You can’t perform that action at this time.
0 commit comments