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

Updated graspologic.plot.plot.screeplot to accept an ax argument for plt #897

Closed
wants to merge 7 commits into from

Conversation

maggiehua01
Copy link

  • Does this PR have a descriptive title that could go in our release notes?
  • Does this PR add any new dependencies?
  • Does this PR modify any existing APIs?
    • Is the change to the API backwards compatible?
  • Have you built the documentation (reference and/or tutorial) and verified the generated documentation is appropriate?

Reference Issues/PRs

Fixes #840

What does this implement/fix? Briefly explain your changes.

This PR gives the screeplot function an ax argument, which defaults to None. If the argument is None, the ax value will remain plt.gca(). This value is used in plt.axes(ax) so that the plot will appear on the gives axes. The function still returns ax, whether the given value or the plt.gca() value.

Any other comments?

@ghost
Copy link

ghost commented Dec 4, 2021

CLA assistant check
All CLA requirements met.

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.

Give screeplot an ax argument
2 participants