Skip to content

Commit 925f1f7

Browse files
Fixed lint errors
Signed-off-by: Dongyun Kim <[email protected]>
1 parent 7067f29 commit 925f1f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

physical_ai_server/physical_ai_server/evaluation/visualization_manager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import os
2020
from typing import List
2121

22-
import numpy as np
2322
import matplotlib.pyplot as plt
23+
import numpy as np
2424

2525

2626
class 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()

0 commit comments

Comments
 (0)