i want add my plot to pyqt ui
i am using pandas for plot.
data= pandas.DataFrame(pandas.read_sql(sql, my_connection))
data[data['GENERAL_TYPE']=='phone'].pivot_table('CEID','CONTACTED_PERSON_NEW','RESULT', aggfunc='count').plot(kind='bar', stacked=True, figsize=(10,10))
data[data['GENERAL_TYPE']=='phone'].pivot_table(['CEID'],['CONTACTED_PERSON_NEW'],['DATA4_CAMP'], aggfunc='count').plot(kind='bar',figsize=(10,10), stacked=True)
data[data['GENERAL_TYPE']=='phone'].pivot_table(['CEID'],['CONTACTED_PERSON_NEW'], aggfunc='count').plot(kind='pie',subplots=True, legend=False, stacked=False, figsize=(10,10))
and after this i have few plots :
How i can use this example(How to embed matplotib in pyqt - for Dummies) add my plots to different layouts in one window ?