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

Fix push_matrix, drop pop_matrix and pop_style #157

Merged
merged 3 commits into from
May 3, 2020

Conversation

jeremydouglass
Copy link
Contributor

This removes pop_matrix() and pop_style(), which were unnecessary (push_matrix and push_style are context managers) and were incorrectly implemented.

It also corrects all the bad documentation and example code, which was incorrectly demonstrating push_matrix as a non-context manager (wrong) followed by pop_matrix (wrong, shouldn't be used). This includes narrative explanations from the 2D tutorial.

Closes #156
Resolves #147

@jeremydouglass
Copy link
Contributor Author

@tyagi619 wants to contribute a pull request on for #156, so I'll withdraw this one.

@jeremydouglass jeremydouglass reopened this May 2, 2020
@jeremydouglass
Copy link
Contributor Author

@parsoyaarihant @abhikpal -- I'm requesting a review.

This should be very quick to look over and either approve or ask for changes.

@arihantparsoya arihantparsoya merged commit 21ab6b2 into p5py:master May 3, 2020
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.

push_matrix() and pop_matrix() not working
2 participants