python plt.figure code example
Example 1: import matplotlib plt
import matplotlib.pyplot as plt
Example 2: import matplotlib pyplot as plt
from matplotlib import pyplot as plt
df.plot()
import matplotlib.pyplot as plt
from matplotlib import pyplot as plt
df.plot()