-
Notifications
You must be signed in to change notification settings - Fork 68
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
ENH: Add an example that demonstrates interfacing with NumPy #366
ENH: Add an example that demonstrates interfacing with NumPy #366
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andinet The example is looking great! I have requested a couple of CMake changes below.
src/Bridge/NumPy/ConvertNumPyArrayToitkImage/ConvertNumPyArrayToitkImage.ipynb
Outdated
Show resolved
Hide resolved
], | ||
"source": [ | ||
"image = itk.image_from_array(array)\n", | ||
"view(image, cmap='Grayscale', interpolation=False)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run the notebook I see a blank background here, do you see the same?
@tbirdso please take a look. I addressed most of your comments. I still need to update the notebook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fixes @andinet , the writeups you added look great. Will wait on notebook fixes for final approval.
…/ITKSphinxExamples into InterfacingWithNumpyExample
…net/ITKSphinxExamples into InterfacingWithNumpyExample
Any thoughts on why the Lint and Documentation tests are failing? |
@andinet The easiest way to view documentation warnings is on CDash It looks like there are style guidelines for the notebook that should be updated. Also, the notebook will need to be added to a docs index, please see other notebook examples for how to do this. |
|
@andinet awesome work, here! 🥇 ✨ ❤️ I was able to reproduce a documentation build error locally -- working on a patch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎇
No description provided.