serWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. pyplot.show() code example
Example: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. plt.show()
sudo apt-get install python3-tk