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

Matplotlib and Opencv do not open the images when I use them in debug mode in vscode. #1663

Closed
gazziro opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@gazziro
Copy link

gazziro commented Aug 29, 2024

When I use plt.imshow or cv2.imshow in vscode debug mode, my image doesn't load, see what happens:
image

But, if I use it outside the debugger, just running the file, my image appears normally.

Python 3.12.5
Matplotlib 3.9.2
opencv-python 4.10.0.84

When my code was in Python 3.7, it worked normally

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python-debugger Aug 29, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Aug 29, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Aug 29, 2024

I would guess this is either a dupe of this item:
#1640
Or this item:
#1633

@gazziro
Copy link
Author

gazziro commented Aug 29, 2024

Hello Rich, thanks for answering! I solved just downgrading my matplotlib version from 3.9.2 to 3.7.5 (probably for the same reason matplot 3.8.x versions don't work). I hope there will be compatibility in the future!

@gazziro gazziro closed this as completed Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants