From a2f14d92d8262ba8251a6d1bcfd158db678f979b Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Sat, 10 Nov 2018 19:17:27 +0100 Subject: [PATCH] minor change in script --- scripts/_Plot_profiles.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/_Plot_profiles.py b/scripts/_Plot_profiles.py index 4672f4de..3071b801 100644 --- a/scripts/_Plot_profiles.py +++ b/scripts/_Plot_profiles.py @@ -139,10 +139,8 @@ if __name__ == '__main__': divider = make_axes_locatable(ax1) cax = divider.append_axes("right", size="2.5%", pad=0.3) cb = plt.colorbar(im, cax=cax) - cb.set_label('Specific flow [$1/m \cdot s$]') - figname = "%s/profile_flux_%s.png" % (pathfile, nametraj) + cb.set_label(r'Specific flow [$1/m \cdot s$]') flux_figname = os.path.join(pathfile, "profile_flux_%s.png" % nametraj) - plt.savefig(flux_figname) plt.close() -- GitLab