Skip to content

Commit b23879a

Browse files
authored
make compatible with matplotlib==2.2.2
1 parent 062b0a4 commit b23879a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dynamic-programming/plot_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ def plot_values(V):
1111
im = ax.imshow(V_sq, cmap='cool')
1212
for (j,i),label in np.ndenumerate(V_sq):
1313
ax.text(i, j, np.round(label, 5), ha='center', va='center', fontsize=14)
14-
plt.tick_params(bottom='off', left='off', labelbottom='off', labelleft='off')
14+
plt.tick_params(bottom=False, left=False, labelbottom=False, labelleft=False)
1515
plt.title('State-Value Function')
16-
plt.show()
16+
plt.show()

0 commit comments

Comments
 (0)