Skip to content

Jupyter extension %matplotlib inline plot background issue #7066

@mcdonoughj

Description

@mcdonoughj

Issue: matplotlib plots rendered poorly when using "%matplotlib inline"

Does this issue occur when all extensions are disabled?: Yes (have to enable python and Jupiter only in order to run), everything else disabled, same issue

  • VS Code Version: 1.59
  • OS Version: Windows 10

Steps to Reproduce:

  1. %matplotlib inline, plot background is full width (although saving the image to pdf is the correct size), the issue appears to be the way it is rendered in the notebook
  2. Remove %matplotlib inline and call plt.show() to fix

Using %matplotlib inline
%matplotlib inline

Using plt.show()
plt show()

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygood first issueGood for newcomersipywidgetsRendering, loading, saving, anything to do with IPyWidgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions