Remove no more meaningful progress optional argument

This commit is contained in:
Benjamin Loison 2024-05-02 13:07:03 +02:00
parent 34613e344b
commit b5b0cc4a7c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ def getImageByColor(color):
return image
singleColorChannelImages = {color: getImageByColor(color) for color in Color}
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages, progress = True)
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages)
plt.imsave(PREFIX + 'multiple_colors.png', multipleColorsImage)

View File

@ -97,7 +97,7 @@ def getNewIndex(index, offset):
def silentTqdm(data, desc = None):
return data
def mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages, progress = False):
def mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages):
colorImage = singleColorChannelImages[list(Color)[0]]
multipleColorsImage = np.empty([dimension * 2 for dimension in colorImage.shape], dtype = np.float64)
'''