Improve bar graph legends with matplotlib : My graph legend (the one below graph - X) is taking a huge space from the total "image". Any idea how I could improve it? For instance, display this field inside the bars?! Thanks for your support.

My code for graph settings is:

    import matplotlib.pyplot as plt
    import matplotlib
    matplotlib.rcParams['font.sans-serif'] = "Century Gothic"
    matplotlib.rcParams['font.family'] = "Century Gothic"
    
    ax = df1.plot.bar(x = '', y = ['Events Today', 'Avg. Events Last 30 Days'], rot = 25, width=0.8 , linewidth=1, color=['midnightblue','darkorange'])
    
    for item in ([ax.xaxis.label, ax.yaxis.label] +
             ax.get_xticklabels() + ax.get_yticklabels()):
        item.set_fontsize(15)
    
    ax.legend(fontsize = 'x-large', loc='best')
    plt.tight_layout()
    ax.yaxis.grid(True, which='major', linestyle='-', linewidth=0.15)
    ax.set_facecolor('#f2f2f2')
    plt.show()

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/wm3rE.png
