from jvPlot_class import * def main(): p = jvPlot() p.set_ylim(-7,-2) p.set_xlim(0,4) p.add_rectangle(0,-5.1,1,-5.1,ctext='PEDOT\n-5.1eV') p.add_rectangle(1,-3,2,-5,ctext='P3HT') p.add_rectangle(2,-3.7,3,-6.1,ctext='PCBM') p.add_rectangle(3,-5.4,4,-5.4,ctext='MoO$_{3}$') p.makePlot() p.showMe() return