-
Notifications
You must be signed in to change notification settings - Fork 0
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
notebook cells too wide #1
Comments
The list is too long. But in the end the user is not actually running the notebook. So with the understanding that this is code for presentation, and need not be working code, you could just explain what should be there:
(yes put an actual
or if for some reason you feel that you should provide working code, consider instead
and then you will have a separate For all the other code which is long, but not super long. For example:
you can just reformat it to be shorter. Firstly it is recommended to put a comment like "Notice that we have a different..." on its own line. It should be on the line immediately above the code it is commenting. (see the PEP8 styling convention https://pep8.org/). Comments can be split into multiple lines if necessary
and code can be split into multiple lines with the
You can use If you want to be really fancy, you can use a tool (like https://pypi.org/project/autopep8/) to help automatically reformat your code for you, although this is not necessary. |
(Hide)
On my capstone page for the Data Incubator (https://hidefusaokabe.github.io/meaningfulmovement/), the code contained in some lines (like line 5) extend outwards to the right.
How can we circumvent this visual appearance?
The text was updated successfully, but these errors were encountered: