Commit bab52d0396974224a22d1f91896392d8fbf01573

Authored by Jürgen Knödlseder
1 parent dfb2b8c4

Optionally display figure in debug mode

Showing 1 changed file with 2 additions and 1 deletions
cscripts/csfootprint.py
... ... @@ -664,7 +664,8 @@ class csfootprint(ctools.cscript):
664 664 fig.text(x0+dx, y0, info['fp_yr'], fontsize=fontsize, ha='left')
665 665  
666 666 # Optionally display figure for debugging
667   - #plt.show()
  667 + if self._logDebug():
  668 + plt.show()
668 669  
669 670 # Save figure
670 671 fig.savefig(outfile, dpi=300)
... ...