Skip to content

DOC: add import numpy as np to examples #16625

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 9 commits into from
Jul 17, 2022
Merged

DOC: add import numpy as np to examples #16625

merged 9 commits into from
Jul 17, 2022

Conversation

imoiwm
Copy link
Contributor

@imoiwm imoiwm commented Jul 16, 2022

Reference issue

Relates to #13049

What does this implement/fix?

Includes missing import numpy as np statements for examples.

  • ndimages: _filters.py
  • ndimages: _interpolation.py
  • ndimages: _measurements.py
  • ndimages: _morphology.py
  • _lib: _util.py
    • Formatted example to assign np.array to variable a as well
  • constants: _constants.py

Additional information

N/A

@imoiwm imoiwm marked this pull request as draft July 16, 2022 20:39
@tupui tupui added Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org sprint Mentored-Sprint. Please do not work on this unless you're participating to a sprint labels Jul 16, 2022
imoiwm added 2 commits July 16, 2022 18:35
                reverted changes to cluster/hierarchy.py
[skip azp] [skip actions]
@imoiwm imoiwm marked this pull request as ready for review July 16, 2022 22:47
Copy link
Member

@tupui tupui left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @imoiwm for your PR 🚀

@tupui tupui merged commit ea8ee9c into scipy:main Jul 17, 2022
@tupui tupui added this to the 1.10.0 milestone Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org sprint Mentored-Sprint. Please do not work on this unless you're participating to a sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants