EXA Use n_quantiles=500 in plot_map_data_to_normal.py
in order to fix warnings
@@ -53,7 +53,10 @@ BINS = 30
rng = np.random.RandomState(304)
bc = PowerTransformer(method='box-cox')
yj = PowerTransformer(method='yeo-johnson')
-qt = QuantileTransformer(output_distribution='normal', random_state=rng)
+# n_quantiles is set to the training set size rather than the default value
+# to avoid a warning being raised by this example
+qt = QuantileTransformer(n_quantiles=500, output_distribution='normal',
+ random_state=rng)
size = (N_SAMPLES, 1)
