Skip to content

Padding problem with Matplotlib 3D plot in VSCode #9132

Locked Answered by DonJayamanne
tueda asked this question in Questions and Answers
Discussion options

You must be logged in to vote

Thanks for filing this here.
I've tried this outside of VS Code (using classic Jupyter Notebook) & I'm experiencing the exact same issue.
I.e. this is the way the image is rendered & saved by Jupyter as well.

Here's a screenshot of the png file I downloaded & saved from Jupyter Notebooks (i.e. outside VS Code)

I believe the screenshot of Google Colaboratory is just a rendering of the output, i.e. it works the same way as it works VS Code & Jupyter Notebooks, & might not work when you save it (i.e. it will be clipped when saving from Google Colab).

As this is a bug in Matplot lib library itself and I'd reccomend filing a bug against their repo.
Looking at their docs, it might be a known i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tueda
Comment options

Answer selected by DonJayamanne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants