UCSD-PL / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
0 stars 7 forks source link

Weird padding at the bottom of matplotlib plot #33

Open KasraF opened 1 year ago

KasraF commented 1 year ago

For the following code:

import matplotlib.pyplot as plt
import numpy as np

data = [1, 86, 42, 54, 100]

# create a bar chart
## ---
plt.bar(np.arange(len(data)), data)
## ---

There is unnecessary and distracting additional space at the bottom of the plot:

image

Looking at the HTML, it looks like Projection Boxes are creating a lot of empty rows in the table? image

rlisahuang commented 1 year ago

I cannot replicate this.