diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py index 344f61e063c287591257dad5bdcf6f3dfff1d6ca..98292b1e94022f6f7fed4533454964159bd98122 100644 --- a/modules/base/pymod/table.py +++ b/modules/base/pymod/table.py @@ -1503,7 +1503,10 @@ Statistics for column %(col)s ax.set_xticklabels(x_labels, rotation = x_labels_rotation) if legend: - ax.legend(legend_data, cols) + if legend == True: + ax.legend(legend_data, cols) + else: + ax.legend(legend_data, legend) if save: plt.savefig(save)