Skip to content

Make example in interactive shell copy-pastable #251

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

Merged
merged 1 commit into from
May 22, 2020

Conversation

rgommers
Copy link
Member

Closes gh-240

The way it looks after this change:

image

I can to tweak the wording to not make it run off the screen, and change exponential to normal because it's shorter.

@bjnath
Copy link
Contributor

bjnath commented May 20, 2020

"The standard way to import NumPy" is in regular type above the example -- do you want to incorporate it in the comments? Otherwise it seems to pertain to everything below.

@rgommers
Copy link
Member Author

Good point, thanks @bjnath. Fixed:

image

@rgommers
Copy link
Member Author

I'll merge this, it's a simple improvement.

@rgommers rgommers merged commit 8c7cdb5 into numpy:master May 22, 2020
@rgommers rgommers deleted the example-tweak branch May 22, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make shell example cut-and-pastable
2 participants