From 54813c4c46ac81601fa51e53a4f7865e991f3b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Wed, 18 Dec 2019 11:21:14 -0500 Subject: [PATCH] Fixed name clash in plot.py --- plot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plot.py b/plot.py index b5ec18e..f2252ec 100644 --- a/plot.py +++ b/plot.py @@ -1,4 +1,3 @@ -import constellation from constellation import util import torch from matplotlib import pyplot @@ -23,9 +22,8 @@ fig = pyplot.figure() ax = SubplotZero(fig, 111) fig.add_subplot(ax) -constellation = model.get_constellation() util.plot_constellation( - ax, constellation, + ax, model.get_constellation(), model.channel, model.decoder, grid_step=0.001, noise_samples=0 )