-
Notifications
You must be signed in to change notification settings - Fork 14
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
Portfolio Docs #3395
Portfolio Docs #3395
Conversation
@csuyat-dot Can you check this page for any typos, any additional suggestions, and if I wrote down your code on how to convert notebooks to PDF right? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good overall, just one comment on using %%capture_parameters
%%capture_parameters | ||
district | ||
``` | ||
- Your code cell must <b>exactly</b> like this or else your notebook won't parameterize. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik it is technically possible to have more code/comments in one of these cells, just as long as %%capture_parameters
remains at the very top of the cell. For example speedmaps has 2 of these, with an extra line of code: https://github.com/cal-itp/data-analyses/blob/main/ca_transit_speed_maps/speedmaps.ipynb
Perhaps we should rephrase this to a recommendation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I'll rephrase this. Thanks for checking this out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just updated it! Could you check it out again? Thanks. @edasmalchi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks!
Description
As part of our Summer Refactor 2024 efforts, I have been updating our docs page.
%%capture_parameter
cell cannot contain even commented out code.Type of change