Skip to content

Commit 9ae3f59

Browse files
committed
Add missing docstring
1 parent 59e4bfc commit 9ae3f59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/contraqctor/qc/camera.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def test_histogram_and_create_asset(self):
225225
)
226226

227227
def test_create_pixel_saturation_visualizer(self):
228+
"""Creates a visualization highlighting saturated and underexposed pixels in the video frame."""
228229
data = self.data_stream.data
229230
if not data.has_video:
230231
return self.skip_test("No video data available. Skipping test.")
@@ -259,6 +260,7 @@ def test_create_pixel_saturation_visualizer(self):
259260
ax[channel].imshow(colored_frame)
260261
ax[channel].axis("off")
261262
ax[channel].set_title(f"Channel-{channel}")
263+
262264
fig.subplots_adjust(top=0.9) # Leave space for suptitle
263265
fig.suptitle("Pixel Saturation Visualization (bounds: {})".format(self.saturation_bounds))
264266
fig.tight_layout()

0 commit comments

Comments
 (0)