From 5a6b2f6ba181dc37c202d71064f5a25b20e3d305 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Fri, 3 May 2024 17:08:28 +0100 Subject: [PATCH] set background color to white for d3 output --- pyzx/drawing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyzx/drawing.py b/pyzx/drawing.py index 39adb633..28064871 100644 --- a/pyzx/drawing.py +++ b/pyzx/drawing.py @@ -343,7 +343,7 @@ def draw_d3( with open(os.path.join(settings.javascript_location, 'zx_viewer.inline.js'), 'r') as f: library_code = f.read() + '\n' - text = """
+ text = """