mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
dlr: trying a thing
This commit is contained in:
parent
e1666026ad
commit
0140e93bbd
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ def get_overlay(image, coloured_mask):
|
|||
|
||||
def plot_samples_matplotlib(filepath, display_list, figsize=(5, 3)):
|
||||
for i in range(len(display_list)):
|
||||
plt.subplot(nrows=1, ncols=len(display_list), index=i)
|
||||
plt.subplot(1, len(display_list), i)
|
||||
if display_list[i].shape[-1] == 3:
|
||||
plt.imshow(tf.keras.preprocessing.image.array_to_img(display_list[i]))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue