Changeset 2848 in lmdz_wrf for trunk/tools/drawing_tools.py


Ignore:
Timestamp:
Aug 12, 2020, 12:07:46 AM (4 years ago)
Author:
lfita
Message:

Adding 'trim' in `oputput_kind'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2837 r2848  
    27292729        quit()
    27302730
     2731    # Trimming figures
     2732    # FROM: https://stackoverflow.com/questions/3130072/matplotlib-savefig-image-trim
     2733    plt.tight_layout()
     2734
    27312735    if close:
    27322736        if kindf == 'null':
     
    1460814612            plt.annotate(polylabv[0], xy=(xlabp,ylabp), xycoords='data',             \
    1460914613              color=polylabv[1], fontsize=polylabv[2], rotation=polylabv[4],         \
    14610               ha='center')
     14614              ha='center', va='center')
    1461114615        else:
    1461214616            plt.annotate(polylabv[0], xy=(xlabp,ylabp), xycoords='data',             \
Note: See TracChangeset for help on using the changeset viewer.