Skip to content

Commit 76b7490

Browse files
committed
Leave it at that, for now
1 parent ba967fc commit 76b7490

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**pyautocv 0.2.2**
44

5-
- Initial tests
5+
- Extended tests and coverage
66

77
- Initial support for action based script run.
88

docs/source/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pyautocv's change log
66

77

88
*
9-
Initial tests
9+
Extended tests and coverage
1010

1111
*
1212
Initial support for action based script run.

pyautocv/segmentation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,10 @@ def show_images(original_images=None, processed_images=None, cmap="gray", number
204204

205205
fig, axes = plt.subplots(nrows=int(number_of_rows), ncols=int(number_of_columns), figsize=figure_size)
206206

207+
print(f"Showing {number} image(s)")
208+
207209
for ind, image in enumerate(image_list):
208-
axes.ravel()[ind].imshow(image_list[ind], cmap=cmap)
210+
axes.ravel()[ind].imshow(image, cmap=cmap)
209211
axes.ravel()[ind].set_title(f'{custom_titles[ind]}')
210212
axes.ravel()[ind].set_axis_off()
211213

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from pyautocv.segmentation import *
44
import os
55
from unittest import mock
6-
import matplotlib
6+
77

88
os.chdir(os.path.dirname(os.path.abspath(__file__)))
99
print("Working in {}".format(os.getcwd()))

0 commit comments

Comments
 (0)