frances-dean commited on
Commit
c2a15c5
1 Parent(s): 7debea2

subplot size update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -825,7 +825,7 @@ def lvad_plots(Rm, Ra, Emax, Emin, Vd, Tc, start_v, beta):
825
  #compute new pv loops and ef with lvad added:
826
  new_ef, pao_ed, pao_es, CO, MAP, Vlvs, Plvs = f_lvad(Rs, Rm, Ra, Rc, Ca, Cs, Cr, Ls, Emin, Vd, Tc, start_v, Emax, c, slope0, w0, x60, y00, y01, y02, y03, y04)
827
 
828
- fig, ax = plt.subplots(figsize=(4, 3))
829
  ax.plot(Vlv0, Plv0, color='blue', label='No LVAD') #blue
830
  ax.plot(Vlvs, Plvs, color=(78/255, 192/255, 44/255), label=f"LVAD, ω(0)= {round(w0,2)}r/min") #green
831
  plt.xlabel('LV volume (ml)')
 
825
  #compute new pv loops and ef with lvad added:
826
  new_ef, pao_ed, pao_es, CO, MAP, Vlvs, Plvs = f_lvad(Rs, Rm, Ra, Rc, Ca, Cs, Cr, Ls, Emin, Vd, Tc, start_v, Emax, c, slope0, w0, x60, y00, y01, y02, y03, y04)
827
 
828
+ fig, ax = plt.subplots(figsize=(6, 4))
829
  ax.plot(Vlv0, Plv0, color='blue', label='No LVAD') #blue
830
  ax.plot(Vlvs, Plvs, color=(78/255, 192/255, 44/255), label=f"LVAD, ω(0)= {round(w0,2)}r/min") #green
831
  plt.xlabel('LV volume (ml)')