INNER CODE UNIT · Python
mult
mhaythornthwaite/Football_Prediction_Project · 04_feature_engineering_data_visualisation.py:160
mult = lims[1] - lims[0]
ax.plot([a_min, a_max], [a_min, a_max], '--', color = '#DD7E7E')
#ax.plot([a_min, a_max], [a_min+0.3*mult, a_max+0.3*mult], '--', color = '#FFCECE')
#ax.plot([a_min, a_max], [a_min-0.3*mult, a_max-0.3*mult], '--', color = '#FFCECE')
#saving figure
if save_df_10_fig:
fig.savefig('figures/average_10_games_team_target_result.png')
#----------------------------------- FIGURE 2 ---------------------------------
#figure 1 - setting up the wrapper
fig, ((ax1, ax2, ax3),(ax4, ax5, ax6)) = plt.subplots(ncols=3,
nrows=2,
figsize=(18,12))
fig.suptitle('Data Averaged Over 5 Games', y=0.99, fontsize=16, fontweight='bold');