def METHOD_NAME(kwargs):
    #print(mp.current_process())
    my_data= kwargs['data'] # data for all compounds for one file
    file_name  = kwargs['file_name'] # full path of output file name
    nRows, nCols = kwargs['rowscols']
    names = kwargs['names']
    share_y = kwargs['share_y']
    # plt.ioff()
    f,ax = plt.subplots(nRows, nCols, sharey=share_y,figsize=(8*nCols,nRows*6))
    ax = ax.flatten()
    plt.rcParams['pdf.fonttype']=42
    plt.rcParams['pdf.use14corefonts'] = True