Skip to content

Commit 0806d23

Browse files
authored
Update convcode.py
1 parent 1df92d9 commit 0806d23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commpy/channelcoding/convcode.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ def visualize(self, trellis_length = 2, state_order = None,
260260
ax.set_xticks([])
261261
ax.set_yticks([])
262262
plt.legend([edge_patches[0], edge_patches[1]], ["1-input", "0-input"])
263-
plt.savefig('trellis')
263+
#plt.savefig('trellis')
264+
plt.show()
264265

265266

266267
def conv_encode(message_bits, trellis, termination = 'term', puncture_matrix=None):

0 commit comments

Comments
 (0)