Single-class box plot doesn't return any data

Open
#115 1 comment 0 reactions 1 assignee View on GitHub

@mishushakov is already working on this.

Since Jun 4, 2025.

Assessment

This issue has not been assessed yet.

Description

bug Code Interpreter

Not working snippet:

import matplotlib.pyplot as plt
import numpy as np

data = np.random.randn(100)
bp = plt.boxplot(data, patch_artist=True)
plt.show()

Working snippet:

import matplotlib.pyplot as plt
import numpy as np

data = np.random.randn(100)
data2 = np.random.randn(20)
bp = plt.boxplot([data,data2], patch_artist=True)
plt.show()
Dominant language
Python
Stars
2.4k
Forks
228
Avg merge
48m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from e2b-dev/code-interpreter

All issues in e2b-dev/code-interpreter

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.