# -*- coding: utf-8 -*-
"""
Created on Sat May 13 15:51:58 2023

@author: stan
"""
from matplotlib import pyplot as plt
import pandas as pd

df2 = pd.DataFrame({"col2": [0.19]})
bad_botton = [-0.23]
bad_range = ([0.23])
#well_botton = np.array([0])
well_range = [0.11]
#excelent_botton = np.array([11])
excelent_range = [0.16]
index =['Печалба/литър']
df = pd.DataFrame({'bad_botton' : bad_botton,
                  'well_range': well_range,  'excelent_range' : excelent_range  }, index=index)

ax = df.plot.bar(stacked=True)
#ax2 = ax.twinx()
ax.plot(ax.get_xticks(),
   #df[['col1', 'col2']].values,
   df2[['col2']].values,
   linestyle='-',
   marker='o', linewidth=2.0)

plt.show()