\documentclass[margin=2pt]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{amsmath,amsfonts}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{statistics}

\begin{document}
\begin{tikzpicture}[]

\pgfplotsset{every y tick label/.append style={font=\scriptsize, xshift=0ex}}
\pgfplotsset{every x tick label/.append style={font=\scriptsize, yshift=0ex}}

\definecolor{color_mc3}{RGB}{114,158,206}
\definecolor{color_gadget}{RGB}{174,199,232}
\definecolor{color_bpc}{RGB}{255,158,74}
\definecolor{color_bges}{RGB}{255,187,120}
\definecolor{color_dibs}{RGB}{103,191,92}
\definecolor{color_bcdnets}{RGB}{152,223,138}
\definecolor{color_gflownet}{RGB}{237,102,93}

\begin{groupplot}[
    group style={group size=3 by 1, horizontal sep=3em}
]

%%%%%%%
% E-SHD
%%%%%%%

\nextgroupplot[
    ymajorgrids,
    xmajorgrids,
    % ymode=log,
    % xmode=log,
    % axis equal,
    % title={Conv-4},
    % title style={yshift=1.2em},
    title={$\mathbb{E}$-SHD},
    xlabel={},
    height=6cm,
    width=8cm,
    legend style={font=\small},
    scaled x ticks=false,
    scaled y ticks=false,
    boxplot/draw direction=y,
    enlarge x limits=0.02,
    x tick label style={rotate=0},
    ytick={20, 40, 60, 80, 100},
    minor y tick num=1,
    enlarge x limits=0.1,
    xmin=1, xmax=7,
    xtick={1, 2, 3, 4, 5, 6, 7},
    xticklabels={
        MC\textsuperscript{3},
        Gadget\vphantom{\textsuperscript{3}},
        B-PC\vphantom{\textsuperscript{3}},
        B-GES\vphantom{\textsuperscript{3}},
        DiBS\vphantom{\textsuperscript{3}},
        BCD\vphantom{\textsuperscript{3}},
        GFN\vphantom{\textsuperscript{3}}
    },
]

\addplot+ [boxplot prepared={
    lower whisker=48.84,
    lower quartile=54.19,
    median=58.75,
    upper quartile=63.56,
    upper whisker=71.30
},
thick, solid, mark=x, black, fill=color_mc3,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=73.80,
    lower quartile=78.26,
    median=80.02,
    upper quartile=82.49,
    upper whisker=87.78
},
thick, solid, mark=x, black, fill=color_gadget,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 90.50\\ 94.95\\ };

\addplot+ [boxplot prepared={
    lower whisker=23.59,
    lower quartile=29.04,
    median=33.18,
    upper quartile=38.28,
    upper whisker=48.67
},
thick, solid, mark=x, black, fill=color_bpc,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=36.03,
    lower quartile=39.68,
    median=43.03,
    upper quartile=51.37,
    upper whisker=68.04
},
thick, solid, mark=x, black, fill=color_bges,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=32.69,
    lower quartile=41.02,
    median=42.76,
    upper quartile=48.74,
    upper whisker=57.68
},
thick, solid, mark=x, black, fill=color_dibs,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 62.84\\ };

\addplot+ [boxplot prepared={
    lower whisker=13.73,
    lower quartile=19.99,
    median=23.36,
    upper quartile=28.62,
    upper whisker=39.25
},
thick, solid, mark=x, black, fill=color_bcdnets,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=25.16,
    lower quartile=28.21,
    median=32.50,
    upper quartile=41.09,
    upper whisker=49.74
},
thick, solid, mark=x, black, fill=color_gflownet,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

%%%%%%%
% AUC
%%%%%%%

\nextgroupplot[
    ymajorgrids,
    xmajorgrids,
    % ymode=log,
    % xmode=log,
    % axis equal,
    % title={Conv-4},
    % title style={yshift=1.2em},
    title={AUROC},
    xlabel={},
    height=6cm,
    width=8cm,
    legend style={font=\small},
    scaled x ticks=false,
    scaled y ticks=false,
    boxplot/draw direction=y,
    enlarge x limits=0.02,
    x tick label style={rotate=0},
    enlarge x limits=0.1,
    minor y tick num=1,
    xmin=1, xmax=7,
    xtick={1, 2, 3, 4, 5, 6, 7},
    xticklabels={
        MC\textsuperscript{3},
        Gadget\vphantom{\textsuperscript{3}},
        B-PC\vphantom{\textsuperscript{3}},
        B-GES\vphantom{\textsuperscript{3}},
        DiBS\vphantom{\textsuperscript{3}},
        BCD\vphantom{\textsuperscript{3}},
        GFN\vphantom{\textsuperscript{3}}
    },
]

\addplot+ [boxplot prepared={
    lower whisker=0.669,
    lower quartile=0.771,
    median=0.801,
    upper quartile=0.847,
    upper whisker=0.921
},
thick, solid, mark=x, black, fill=color_mc3,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=0.386,
    lower quartile=0.481,
    median=0.523,
    upper quartile=0.564,
    upper whisker=0.667
},
thick, solid, mark=x, black, fill=color_gadget,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=0.626,
    lower quartile=0.725,
    median=0.749,
    upper quartile=0.793,
    upper whisker=0.855
},
thick, solid, mark=x, black, fill=color_bpc,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=0.803,
    lower quartile=0.869,
    median=0.894,
    upper quartile=0.926,
    upper whisker=0.973
},
thick, solid, mark=x, black, fill=color_bges,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 0.709\\ 0.780\\ };

\addplot+ [boxplot prepared={
    lower whisker=0.762,
    lower quartile=0.811,
    median=0.830,
    upper quartile=0.851,
    upper whisker=0.905
},
thick, solid, mark=x, black, fill=color_dibs,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=0.693,
    lower quartile=0.753,
    median=0.779,
    upper quartile=0.805,
    upper whisker=0.864
},
thick, solid, mark=x, black, fill=color_bcdnets,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=0.661,
    lower quartile=0.778,
    median=0.813,
    upper quartile=0.868,
    upper whisker=0.928
},
thick, solid, mark=x, black, fill=color_gflownet,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

%%%%%%%
% BGe Score
%%%%%%%

\nextgroupplot[
    ymajorgrids,
    xmajorgrids,
    % ymode=log,
    % xmode=log,
    % axis equal,
    % title={Conv-4},
    title style={yshift=-2pt},
    title={$\log P(G, \mathcal{D}' \mid \mathcal{D})$},
    xlabel={},
    height=6cm,
    width=8cm,
    legend style={font=\small},
    scaled x ticks=false,
    scaled y ticks=false,
    boxplot/draw direction=y,
    x tick label style={rotate=0},
    xtick={1, 2, 3, 4, 5, 6, 7},
    ytick={700, 750, 800, 850, 900},
    minor y tick num=4,
    enlarge x limits=0.1,
    xmin=1, xmax=7,
    xticklabels={
        MC\textsuperscript{3},
        Gadget\vphantom{\textsuperscript{3}},
        B-PC\vphantom{\textsuperscript{3}},
        B-GES\vphantom{\textsuperscript{3}},
        DiBS\vphantom{\textsuperscript{3}},
        BCD\vphantom{\textsuperscript{3}},
        GFN\vphantom{\textsuperscript{3}}
    },
]

\addplot[mark=none, gray, thick, densely dashed, samples=2, domain=0:8] {904.21};

\addplot+ [boxplot prepared={
    lower whisker=861.23,
    lower quartile=873.07,
    median=878.20,
    upper quartile=882.05,
    upper whisker=892.93
},
thick, solid, mark=x, black, fill=color_mc3,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { \\ };

\addplot+ [boxplot prepared={
    lower whisker=752.80,
    lower quartile=793.71,
    median=807.13,
    upper quartile=821.28,
    upper whisker=862.55
},
thick, solid, mark=x, black, fill=color_gadget,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 745.02\\ 748.45\\ 752.03\\ 745.83\\ };

\addplot+ [boxplot prepared={
    lower whisker=725.87,
    lower quartile=769.57,
    median=786.84,
    upper quartile=799.73,
    upper whisker=843.79
},
thick, solid, mark=x, black, fill=color_bpc,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 720.89\\ 709.87\\ 721.50\\ 720.64\\ 850.27\\ };

\addplot+ [boxplot prepared={
    lower whisker=864.54,
    lower quartile=881.60,
    median=888.14,
    upper quartile=893.20,
    upper whisker=907.31
},
thick, solid, mark=x, black, fill=color_bges,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 860.45\\ 861.07\\ 858.10\\ 863.71\\ 863.90\\ 862.81\\ 855.84\\ 863.77\\ 863.43\\ 860.73\\ 858.15\\ };

\addplot+ [boxplot prepared={
    lower whisker=831.80,
    lower quartile=862.80,
    median=874.44,
    upper quartile=883.91,
    upper whisker=907.57
},
thick, solid, mark=x, black, fill=color_dibs,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 823.53\\ 818.40\\ 826.60\\ 830.04\\ 828.63\\ 816.10\\ 824.51\\ 828.40\\ 815.25\\ 829.42\\ 830.22\\ 808.24\\ 791.84\\ 824.19\\ 825.62\\ 828.90\\ 818.87\\ 828.55\\ 816.54\\ 826.19\\ 822.69\\ 822.13\\ };

\addplot+ [boxplot prepared={
    lower whisker=875.83,
    lower quartile=884.54,
    median=889.10,
    upper quartile=891.53,
    upper whisker=898.48
},
thick, solid, mark=x, black, fill=color_bcdnets,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 868.09\\ 872.25\\ 865.23\\ 867.74\\ 867.62\\ 864.31\\ 864.36\\ 871.42\\ 858.65\\ 873.33\\ };

\addplot+ [boxplot prepared={
    lower whisker=874.95,
    lower quartile=887.47,
    median=892.21,
    upper quartile=896.09,
    upper whisker=905.68
},
thick, solid, mark=x, black, fill=color_gflownet,
mark options={fill=black, draw=black}] table [row sep=\\, y index=0] { 864.32\\ 871.60\\ 867.75\\ 867.71\\ 871.09\\ 872.72\\ 868.05\\ };

\end{groupplot}

\end{tikzpicture}
\end{document}
