Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dqian3
Copy link

@dqian3 dqian3 commented Dec 4, 2023

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

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dqian3 dqian3 changed the title [14-truck_backer_upper.ipynb] Fix oudated matplotlib API usage [DLFL23] 14-truck_backer_upper.ipynb - Fix oudated matplotlib API usage Dec 6, 2023
@smith-kyle
Copy link

Just a heads up, you can review notebook changes like this using GitNotebooks.

e.g. this pull request https://gitnotebooks.com/Atcold/NYU-DLSP20/pull/846

It allows inline comments on code and markdown, and it's free for public repos so I thought I'd share..

@Atcold
Copy link
Owner

Atcold commented Jun 19, 2024

@smith-kyle, how is it any different from ReviewNB?

@smith-kyle
Copy link

@Atcold Pretty similar but it's a bit more performant, supports multi-line comments, and code comments appear inline like GitHub

@Atcold
Copy link
Owner

Atcold commented Jun 20, 2024

@smith-kyle, I'm not sure why you're telling me this on this PR, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants