\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{pgfplots}
\usepackage{tikz}
\usepgfplotslibrary{groupplots}
\definecolor{darkblue00167}{RGB}{0,0,167}
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{firebrick1933945}{RGB}{193,39,45}
\definecolor{lightgray204}{RGB}{204,204,204}
\begin{document}
\definecolor{darkblue00167}{RGB}{0,0,167}
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{firebrick1933945}{RGB}{193,39,45}
\definecolor{lightgray204}{RGB}{204,204,204}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=2 by 1}]
\nextgroupplot[
legend cell align={left},
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=lightgray204},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xlabel={Load scaling},
xmin=0.923188644647598, xmax=2.07674996256828,
xtick style={color=black},
y grid style={darkgray176},
ylabel={Failure size error (\%)},
ymin=0, ymax=25,
ytick style={color=black}
]
\addplot [semithick, darkblue00167, dashed, mark=square*, mark size=2.25, mark options={solid}]
table {
0.975623250007629 6.18811425798741
1.02770721912384 4.6403216243792
1.08042061328888 7.2755778930837
1.13228726387024 11.4201412381244
1.18471789360046 13.0685994990903
1.23787021636963 8.57926768440158
1.29045939445496 8.28063249606334
1.34462869167328 7.32901268032919
1.39903318881989 4.53260701839797
1.45040106773376 3.86929371176648
1.49875593185425 3.56483659978773
1.54848980903625 3.20978183355652
1.60126006603241 2.8007369543441
1.65564477443695 2.12021348468897
1.70725786685944 1.41308103715543
1.76134884357452 1.18880277408772
1.81366372108459 1.25835959701875
1.86528158187866 1.43140654153183
1.9159699678421 1.69276057336418
1.96697819232941 1.65802576511848
2.02188491821289 1.81419539195104
};
\addlegendentry{GNN (bin average)}
\addplot [semithick, firebrick1933945, mark=*, mark size=2.25, mark options={solid}, only marks]
table {
1 18.1703003277861
1.1 21.9002683826847
1.2 55.1121049520729
1.3 11.9669462270099
1.4 12.2974206166242
1.5 6.43691210743357
1.6 6.24674009425519
1.7 4.37986229434396
1.8 3.89351408355902
1.9 4.36296550746219
2 4.61722594915359
};
\addlegendentry{Influence models}
\nextgroupplot[
legend style={
fill opacity=0.8,
draw opacity=1,
text opacity=1,
at={(0.91,0.5)},
anchor=east,
draw=lightgray204
},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xlabel={Load scaling},
xmin=0.923188644647598, xmax=2.07674996256828,
y grid style={darkgray176},
ymin=0.649255039166676, ymax=3.60837593765405
]
\addplot [semithick, darkblue00167, dashed, mark=square*, mark size=2.25, mark options={solid}]
table {
0.977427005767822 1.86742451115221
1.03001689910889 1.03762091351908
1.08261823654175 1.07160777247465
1.13787531852722 1.17841572890512
1.19125521183014 1.36170378360958
1.24404168128967 1.24706387908018
1.29405379295349 1.25230760444872
1.34606111049652 1.10250290896462
1.39747321605682 1.24092515857249
1.44819092750549 1.21733433202285
1.499302983284 1.27184170545613
1.55119824409485 1.37369778382928
1.6031905412674 0.879706867558302
1.65577554702759 0.783760534552466
1.70964622497559 1.1065848750047
1.75970923900604 1.30357808306688
1.81061780452728 1.00442238176455
1.86352777481079 0.885064538474343
1.91665089130402 1.02143328123894
1.97011077404022 1.01439423151627
2.02431535720825 0.964136839462597
};
\addlegendentry{GNN (bin average)}
\addplot [semithick, firebrick1933945, mark=*, mark size=2.25, mark options={solid}, only marks]
table {
1 3.10062962222461
1.1 2.43076997439411
1.2 3.20284673669159
1.3 2.45816010202442
1.4 2.78759674174001
1.5 3.08825534649397
1.6 3.07051213977265
1.7 3.47387044226826
1.8 3.22723149639525
1.9 2.93528972848821
2 2.81851253142877
};
\addlegendentry{Influence models}
\end{groupplot}
\end{tikzpicture}
\end{document}