Changeset 2591 in lmdz_wrf


Ignore:
Timestamp:
Jun 3, 2019, 7:51:05 PM (6 years ago)
Author:
lfita
Message:

Fixing typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2590 r2591  
    32353235     rotpar: angle of ratation of the labels of the parallels
    32363236     col: color of lines ('#080808' default)
    3237      lwdith: width of the lines (0.25, default)
     3237     lwidth: width of the lines (0.25, default)
    32383238    """
    32393239    fname = 'draw_MerPara'
     
    32423242    if np.mod(ip,Ncol) == 0:
    32433243        mape.drawparallels(pars,labels=[True,False,False,True], fontsize=fsize,      \
    3244           color=col, rotation=rotpar, linewidth=lwdith)
     3244          color=col, rotation=rotpar, linewidth=lwidth)
    32453245    elif np.mod(ip+1,Ncol) == 0:
    32463246        mape.drawparallels(pars,labels=[False,True,True,False], fontsize=fsize,      \
    3247           color=col, rotation=rotpar, linewidth=lwdith)
     3247          color=col, rotation=rotpar, linewidth=lwidth)
    32483248    else:
    32493249        mape.drawparallels(pars,labels=[False,False,False,False], fontsize=fsize,    \
    3250           color=col, rotation=rotpar, linewidth=lwdith)
     3250          color=col, rotation=rotpar, linewidth=lwidth)
    32513251
    32523252    if ip+1 > (Nrow-1)*Ncol:
    32533253        mape.drawmeridians(mers, labels=[True,False,False,True], fontsize=fsize,     \
    3254           color=col, rotation=rotmer, linewidth=lwdith)
     3254          color=col, rotation=rotmer, linewidth=lwidth)
    32553255# NO on top meridians
    32563256#    elif ip+1 < Ncol:
     
    32593259    else:
    32603260        mape.drawmeridians(mers, labels=[False,False,False,False], fontsize=fsize,   \
    3261           color=col, rotation=rotmer, linewidth=lwdith)
     3261          color=col, rotation=rotmer, linewidth=lwidth)
    32623262
    32633263    return
Note: See TracChangeset for help on using the changeset viewer.