licated(keep=&#39;first&#39;)]

    df.index = df.index.map(annotation, na_action=&#34;ignore&#34;).values.astype(str)
    
    # Constants, height and width of plot.
    if figsize is None:
        W = min((df.index.nunique(), 10))
        H = 6.4 # plotnine default height
    else:
        W, H = figsize

    ### Convert to tidy / long format
    # Org:
    #       ABC  ACBG  ACMB
    # POMC  0.0   0.5   0.9
    # AGRP  0.2   0.0   0.0
    # LEPR  0.1   0.1   0.4
    
    # Tidy:
    #   gene_name annotat