# -*- coding: utf-8 -*-
"""
Created on Sat May 13 15:43:20 2023

@author: stan
"""

#df.plot(kind='bar' stacked=true)

from matplotlib import pyplot as plt
import pandas as pd

plt.rcParams["figure.figsize"] = [7.50, 3.50]
plt.rcParams["figure.autolayout"] = True

#df = pd.DataFrame({"col1": [1, 3, 5, 7, 1], "col2": [1, 5, 7, 9, 1]})
df2 = pd.DataFrame({"col2": [1, 5, 7, 9, 1]})
df1 = pd.DataFrame({"col1": [1, 3, 5, 7, 1]})





#ax = df1.plot(kind="bar")
#ax = df1.plot(kind='bar' stacked=true)
ax = df2.plot.bar(stacked=True)
ax = df1.plot.bar(rot=0)
#ax2 = ax.twinx()

#ax2.plot(ax.get_xticks(),
   #df[['col1', 'col2']].values,
 #  df2[['col2']].values,
  # linestyle='-',
   #marker='o', linewidth=2.0)

plt.show()