Skip to content

Commit

Permalink
Fix legend index (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishkegb authored Oct 19, 2023
1 parent 344cebf commit b91cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def plot_33_2(x1, y1, x2, y2, x_label='', title='', legend=['', '']):

for i, j in list(itertools.product(range(0, 3), range(0, 3))):
ax[i, j].plot(x1[:], y1[i, j, :], 'r', label=legend[0])
ax[i, j].plot(x2[:], y2[i, j, :], 'g', label=legend[0])
ax[i, j].plot(x2[:], y2[i, j, :], 'g', label=legend[1])
ax[i, j].set_ylim((-1.2, 1.2))
ax[i, j].grid('on')

Expand Down

0 comments on commit b91cd04

Please sign in to comment.