removing unused matplotlib requirement

This commit is contained in:
Philipp Klaus
2016-12-06 14:01:37 +01:00
parent 30cf13be48
commit c18c3f6faa
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -279,9 +279,6 @@ class BrotherQLReader(object):
array = np.fliplr(array) array = np.fliplr(array)
im = Image.fromarray(array) im = Image.fromarray(array)
im = im.point(lambda x: 0 if x == 1 else 255, '1') # -> Monocolor and invert 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) img_name = 'page{:04d}.png'.format(self.page)
im.save(img_name) im.save(img_name)
print('Page saved as {}'.format(img_name)) print('Page saved as {}'.format(img_name))
-1
View File
@@ -32,7 +32,6 @@ setup(name='brother_ql',
"numpy", "numpy",
"packbits", "packbits",
"pillow", "pillow",
"matplotlib",
], ],
extras_require = { extras_require = {
#'brother_ql_analyse': ["matplotlib",], #'brother_ql_analyse': ["matplotlib",],