def _plot_mi_func(x, y):

    mi = mutual_info(x, y)
    title = mi % "NI($X_1$, $X_2$) = %.3f"
    pylab.scatter(x, y)
    pylab.title(title)
    pylab.xlabel("$X_1$")
    pylab.ylabel("$X_2$")
dataset/ETHPy150Open luispedro/BuildingMachineLearningSystemsWithPython/ch11/demo_mi.py/_plot_mi_func/swapped operands of `%`