From c18c3f6faa8fd1897e725e0993bccc3abeb0f48a Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Tue, 6 Dec 2016 14:01:37 +0100 Subject: [PATCH] removing unused matplotlib requirement --- brother_ql/reader.py | 3 --- setup.py | 1 - 2 files changed, 4 deletions(-) diff --git a/brother_ql/reader.py b/brother_ql/reader.py index 98500f9..79db956 100755 --- a/brother_ql/reader.py +++ b/brother_ql/reader.py @@ -279,9 +279,6 @@ class BrotherQLReader(object): array = np.fliplr(array) im = Image.fromarray(array) im = im.point(lambda x: 0 if x == 1 else 255, '1') # -> Monocolor and invert - #from matplotlib import pyplot as plt - #plt.imshow(im) - #plt.show() img_name = 'page{:04d}.png'.format(self.page) im.save(img_name) print('Page saved as {}'.format(img_name)) diff --git a/setup.py b/setup.py index cd46e4f..00f3521 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,6 @@ setup(name='brother_ql', "numpy", "packbits", "pillow", - "matplotlib", ], extras_require = { #'brother_ql_analyse': ["matplotlib",],