Skip to content

Conversation

smith-kyle
Copy link
Member

No description provided.

Copy link

gitnotebooks bot commented Dec 16, 2024

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/GitNotebooks/demo/pull/5

@gitnotebooks-staging
Copy link

Found 1 changed notebook. Review the changes at https://app-staging.gitnotebooks.com/GitNotebooks/demo/pull/5

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Generate an image and save it at ./my-image.png

import matplotlib.pyplot as plt

This is a comment @smith-kyle

"\n",
"import matplotlib.pyplot as plt\n",
"\n",
"plt.plot([1, 2, 3, 4])\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"plt.plot([1, 2, 3, 4])\n",
"plt.plot([1, 2, 3, 4, 5])\n",

"import matplotlib.pyplot as plt\n",
"\n",
"plt.plot([1, 2, 3, 4])\n",
"plt.savefig(\"./my-image.png\")\n"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my comment with a suggestion

Suggested change
"plt.savefig(\"./my-image.png\")\n"
"plt.savefig(\\"./my-image.png\\")\n"

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.

3 participants