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

DOC: cleanup calls to private methods _setup_plots in doctests #4181

Conversation

neutrinoceros
Copy link
Member

PR Summary

Follow up to #4121

@neutrinoceros neutrinoceros added enhancement Making something better docs labels Oct 22, 2022
@neutrinoceros neutrinoceros changed the title TST: cleanup calls to private methods _setup_plots in doctests DOC: cleanup calls to private methods _setup_plots in doctests Oct 22, 2022
@neutrinoceros neutrinoceros force-pushed the cleanup_private_method_calls_in_doctests branch from aa12aaa to 02a31ff Compare October 22, 2022 18:00
@neutrinoceros neutrinoceros marked this pull request as ready for review October 22, 2022 18:55
Copy link
Contributor

@chrishavlin chrishavlin left a comment

Choose a reason for hiding this comment

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

Up higher in the docstring of set_mpl_projection it still says

        To annotate the plot with coastlines or other annotations,
        `_setup_plots()` will need to be called after this function
        to make the axes available for annotation.

should change that to render() as well.

@neutrinoceros neutrinoceros force-pushed the cleanup_private_method_calls_in_doctests branch from 02a31ff to bd40d19 Compare November 2, 2022 16:47
@neutrinoceros
Copy link
Member Author

@chrishavlin nice catch. I also found a couple tests where that change was missing too

@neutrinoceros neutrinoceros merged commit b4e32b8 into yt-project:main Nov 6, 2022
@neutrinoceros neutrinoceros deleted the cleanup_private_method_calls_in_doctests branch November 6, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants