NYU-DLSP20 icon indicating copy to clipboard operation
NYU-DLSP20 copied to clipboard

[DLFL23] 14-truck_backer_upper.ipynb - Fix oudated matplotlib API usage

Open dqian3 opened this issue 7 months ago • 5 comments

Was trying to get the truck backer upper working as shown in the NYU Deep Learning class, but rather than downgrade jupyter and matplotlib, I figured out what needed to be changed to make the the notebook work with the latest version.

Tested with a fresh conda install, but haven't tried the other notebooks.

Summary of changes:

  • Remove old positional argument in matplotlib.patches.Rectangle
  • Replace pylab imports with python random and math modules.
  • truck_backer-upper => truck_backer_upper
  • Add ipympl and use %matplotlib notebook

dqian3 avatar Dec 04 '23 19:12 dqian3