From af35e30e2a2ec35e63d0eb6d7abeaa5762fb65df Mon Sep 17 00:00:00 2001 From: Morvan Zhou Date: Wed, 10 May 2017 14:47:29 +1000 Subject: [PATCH] update --- tutorial-contents/406_GAN.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorial-contents/406_GAN.py b/tutorial-contents/406_GAN.py index 2968b79..42e29de 100644 --- a/tutorial-contents/406_GAN.py +++ b/tutorial-contents/406_GAN.py @@ -27,6 +27,7 @@ PAINT_POINTS = np.vstack([np.linspace(-1, 1, ART_COMPONENTS) for _ in range(BATC # show our beautiful painting range plt.plot(PAINT_POINTS[0], 2 * np.power(PAINT_POINTS[0], 2) + 1, c='#74BCFF', lw=3, label='upper bound') plt.plot(PAINT_POINTS[0], 1 * np.power(PAINT_POINTS[0], 2) + 0, c='#FF9359', lw=3, label='lower bound') +plt.legend(loc='upper right') plt.show()