-
Notifications
You must be signed in to change notification settings - Fork 18k
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
tour: figure out how to make pic.Show interact well with debug prints #14206
Comments
Are you able to provide a sample program that reproduces this issue? My trivial solution seems to work ok:
|
I tried running my bit of code again, it turned out that I was debug printing some intermediate values and this was preventing the image from showing up. Removing the print made the image show up. This issue can be closed if this behavior is okay. |
We should probably figure out a more graceful way of handling intermingling On 10 February 2016 at 16:17, Karthik Krishnan Ramasubramanian <
|
Hi @doublek - Can you mention what are the debug statements that you added that was preventing the image from being shown ? A code example would be really appreciated. |
Context: https://tour.golang.org/moretypes/15
Running the slices exercise doesn't display bluescale image. Instead it displays the slices of slices returned by Pic and as the last line prints "IMAGE: ".
The text was updated successfully, but these errors were encountered: