Skip to content

Commit 9ac6702

Browse files
committed
xp gridworld figs
1 parent 5aee6a7 commit 9ac6702

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

figures_icml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
}
5353
ENVIRONMENTS_SUBFIGURES = {
5454
"GridworldDD": "a",
55+
"GridworldXP": "supp",
5556
"LunarLander": "c",
5657
"CartPole": "b",
5758
}
@@ -507,6 +508,8 @@ def plot_for_dim(dim):
507508
correls_plot = env.plot(custom_data=est_relevance, custom_colorbar=True, data_norm=TwoSlopeNorm(vcenter=0.2, vmin=0., vmax=np.ma.max(est_relevance)), data_colormap="RdGy_r", fontsize_startend=6)
508509
plt.colorbar(correls_plot, cax=ax_cbar, orientation='vertical')
509510
ax_cbar.yaxis.set_ticks_position("left")
511+
if environment_id == "20200722_01":
512+
plt.plot([10], [1], marker="*", color="g")
510513
else:
511514
fig = plt.figure(figsize=(FIG4bc_W, FIG4_H))
512515
ax = fig.add_axes([FIG4bc_LEFT / FIG4bc_W, FIG4_BOTTOM / FIG4_H, FIG4bc_AX_WIDTH / FIG4bc_W, FIG1_HEIGHT / FIG4_H])

0 commit comments

Comments
 (0)