Skip to content

Commit cf29655

Browse files
committed
Formatting
1 parent 08f3edb commit cf29655

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/reward_preprocessing/interpret.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,11 @@ def interpret(
305305
plt.tight_layout()
306306

307307
if wandb_logging:
308-
# Take the matplotlib plot containing all visualizations and log it as a single
309-
# image in wandb.
308+
# Take the matplotlib plot containing all visualizations and log it as a
309+
# single image in wandb.
310310
# We do this, so we have both the individual feature visualizations (logged
311-
# above) in case we need them and the overview plot, which is a bit more useful.
311+
# above) in case we need them and the overview plot, which is a bit more
312+
# useful.
312313
img_buf = io.BytesIO()
313314
plt.savefig(img_buf, format="png")
314315
full_plot_img = PIL.Image.open(img_buf)

0 commit comments

Comments
 (0)