I am trying to plot a simple graph using pyplot, e.g.:
import matplotlib.pyplot as plt plt.plot([1,2,3],[5,7,4]) plt.show()
but the figure
You can change the matplotlib using backend using the from agg to Tkinter TKAgg using command
agg
TKAgg
matplotlib.use('TKAgg',warn=False, force=True)