Changeset 2600 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 11, 2019, 3:14:19 PM (6 years ago)
Author:
lfita
Message:

Adding float conversion for square root in ' NcolNrow_figure'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2599 r2600  
    31913191
    31923192    if kind == 'squared':
    3193         Ncol = int(np.sqrt(Npanels))
     3193        Ncol = int(np.sqrt(Npanels*1.))
    31943194        Nrow = Npanels / Ncol
    31953195        if Ncol > Nrow:
Note: See TracChangeset for help on using the changeset viewer.