Matplotlib's plt.show() does not work
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/scipp/plopp/pull/595#issuecomment-5131673827
In a script or ipython console:
import matplotlib.pyplot as plt
import scipp as sc
f = sc.arange("x", 5.0).plot()
plt.show()
shows nothing, while using f.show() will show the figure (note that the figure may dissapear instantly again inside a script).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal Python/IPython reproduction in the issue and compare the behavior of plt.show() with f.show(). Trace how the figure is created and displayed, then verify that plt.show() displays the plot in both a script and an IPython console without breaking the existing f.show() behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100