Skip to content

THREDDS Radar make_text_time_right Method update #4

@MethaneRain

Description

@MethaneRain

Change "NWS Level 3 Radar (dbz)" to something relative related to product description from metadata

def make_text_time_right(ax,end,
                         color="w",
                       fontsize=12):  
    
    text_time = ax.text(.995, 0.01, 
            "NWS Level 3 Radar (dbz)"+"\n"+"{0:%Y-%m-%d %H%MZ}".format(end),
            horizontalalignment='right', transform=ax.transAxes,
            color=color, fontsize=fontsize, weight='bold',zorder=15)
    outline_effect = [patheffects.withStroke(linewidth=5, foreground='black')]
    text_time.set_path_effects(outline_effect)
    return text_time,ax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions