chapter04/car_rental_synchronous.py: the table needs to be flipped.
QuangTran4810 opened this issue · 1 comments
QuangTran4810 commented
I think the table plot of the policy need a small correction. It needs to be flipped before plotted:
plt.table(cellText=np.flipud(self.policy), loc=(0, 0), cellLoc='center')
Otherwise the y-label and the policy will mismatch.
ShangtongZhang commented
Fixed, thanks for pointing this out!