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

Colab makes indented text red because it expects four spaces by default #24

Open
MaxGhenis opened this issue Mar 8, 2019 · 0 comments
Open

Comments

@MaxGhenis
Copy link

@MaxGhenis MaxGhenis commented Mar 8, 2019

Probably too minor to mention, but just wanted to point out in case people notice it: since the notebooks indent with two spaces and Colab expects four spaces by default, Colab will make indented text red as a warning. e.g. from lab1/Part1_tensorflow.ipynb:

image

Setting the indentation width to 2 spaces fixes this (Tools...Preferences...Indentation width in spaces):
image

No more warning:
image

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.