how to display a figure in matplotlib python code example
Example 1: matplotlib show plot
import matplotlib.pyplot as plt
plt.plot(x, y)
plt.plot(z, t)
plt.show()
Example 2: figure in matplotlib
pyplot.figure(num=None, figsize=None, dpi=None, facecolor=None,
edgecolor=None, frameon=True, FigureClass=<class 'matplotlib.figure.Figure'>,
clear=False, **kwargs)