-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
class::bugBugs found in the softwareBugs found in the softwareloc::python interfaceThis issue concerns the python interface to the backend implementation.This issue concerns the python interface to the backend implementation.
Description
Bug description
plt.show() is only printing a UserWarning and not showing the plot.
Only solution I found that worked is:
matplotlib.use('tkagg')
Version
Windows
To reproduce
import matplotlib.pyplot as plt
plt.plot([1,2,3],[2,3,4]) # or anything else
plt.show()
Relevant log output
For matplotlib 3.8
UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown
For matplotlib <= 3.7
UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
- Attached labels, especially loc:: or model:: labels.
- Linked to project
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
class::bugBugs found in the softwareBugs found in the softwareloc::python interfaceThis issue concerns the python interface to the backend implementation.This issue concerns the python interface to the backend implementation.
Type
Projects
Status
✅ Done