Changeset 1127 in lmdz_wrf


Ignore:
Timestamp:
Sep 30, 2016, 6:51:56 PM (8 years ago)
Author:
lfita
Message:

Making use of `latex_text' in 'plot_2D_shadow'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1123 r1127  
    40644064
    40654065# units labels
    4066     cbar.set_label(vnames.replace('_','\_') + ' (' + units_lunits(uts) + ')')
     4066    cbar.set_label(gen.latex_text(vnames) + ' (' + units_lunits(uts) + ')')
    40674067
    40684068    figname = '2Dfields_shadow'
    4069     graphtit = vtit.replace('_','\_').replace('&','\&')
    4070 
    4071     plt.title(graphtit)
     4069    graphtit = gen.latex_text(vtit)
     4070
     4071    plt.title(gen.latex_text(graphtit))
    40724072   
    40734073    output_kind(kfig, figname, ifclose)
Note: See TracChangeset for help on using the changeset viewer.