MATPlotlib Legend Numer Columns

#Column of legend: ncol = nr_columns
ax.legend(loc='upper center', bbox_to_anchor=(0.5, 1.05),
          ncol=3, fancybox=True, shadow=True)

HotFlow