From f5c78100fb34d64f1a21624d2b9d62728ed1c9d3 Mon Sep 17 00:00:00 2001 From: Lauri Siltala Date: Wed, 9 Aug 2023 10:45:58 +0300 Subject: [PATCH] Disable transparency --- sixel/sixel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixel/sixel.py b/sixel/sixel.py index e7e7d08..943fa6a 100644 --- a/sixel/sixel.py +++ b/sixel/sixel.py @@ -24,7 +24,7 @@ def display(figure): """ Display figure on stdout as sixel graphic """ print() p = Popen(["convert", "-colors", '16', 'png:-', 'sixel:-'], stdin=PIPE) - figure.savefig(p.stdin, bbox_inches="tight", format='png', transparent=True, pad_inches=0.) + figure.savefig(p.stdin, bbox_inches="tight", format='png', transparent=False, pad_inches=0.) p.stdin.close() p.wait()