From 049c939394e31ee61bcd4f9b37277727dbfac011 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 6 Oct 2021 16:44:55 -0500 Subject: [PATCH] minor --- modules/util/plot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/util/plot.py b/modules/util/plot.py index 2e511639..f3313fab 100644 --- a/modules/util/plot.py +++ b/modules/util/plot.py @@ -25,7 +25,10 @@ img_name = 'train_curve.png' run_valid_stepping = 1 -matplotlib.use('tkagg') +try: + matplotlib.use('tkagg') +except Exception as e: + print(e) cld_phase_clr_list = [[128,128,128], [11,36,250], [45,254,254], [127,15,126], [254,192,203], [0,0,0]] -- GitLab