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

Converting .ipynb to .py issue: display() #208

Closed
tomoreilly opened this issue Feb 1, 2024 · 2 comments
Closed

Converting .ipynb to .py issue: display() #208

tomoreilly opened this issue Feb 1, 2024 · 2 comments

Comments

@tomoreilly
Copy link

I am converting Alignment-10Band.ipynb to a straight .py script.
The ipynb page invokes display() as follows:

im_aligned = imageutils.aligned_capture(capture, warp_matrices, warp_mode, cropp
ed_dimensions, match_index, img_type=img_type)
display(im_aligned)

But the .py script is unable to find symbol display:

File "Alignment-10Band.py", line 189, in main
display(im_aligned)
NameError: name 'display' is not defined

What should my .py script call instead of display(im_aligned)?
Thanks!

@sebc06
Copy link
Contributor

sebc06 commented Feb 5, 2024

Hi @tomoreilly,
This line should be removed. I'll merge the change soon. You can remove locally in the meantime.

@sebc06
Copy link
Contributor

sebc06 commented Feb 9, 2024

This is done, closing this issue.

@sebc06 sebc06 closed this as completed Feb 9, 2024
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

No branches or pull requests

2 participants