From 2fdcfe6a4fc2c481ca387f16b0e11fc0da703ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Tue, 20 Apr 2021 14:30:42 +0200 Subject: [PATCH] Fix example legend. Lambda was meant to be on a different line. --- examples/preprocessing/plot_map_data_to_normal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/preprocessing/plot_map_data_to_normal.py b/examples/preprocessing/plot_map_data_to_normal.py index ff465df78b0df..581ca20a83a42 100644 --- a/examples/preprocessing/plot_map_data_to_normal.py +++ b/examples/preprocessing/plot_map_data_to_normal.py @@ -132,7 +132,7 @@ ax.hist(X_trans, color=color, bins=BINS) title = 'After {}'.format(meth_name) if lmbda is not None: - title += r'\n$\lambda$ = {}'.format(lmbda) + title += '\n$\\lambda$ = {}'.format(lmbda) ax.set_title(title, fontsize=FONT_SIZE) ax.tick_params(axis='both', which='major', labelsize=FONT_SIZE) ax.set_xlim([-3.5, 3.5])