DebasishDhal99 commited on
Commit
fd59ae6
·
1 Parent(s): 2f62c05

Update channel_functions.py

Browse files
Files changed (1) hide show
  1. channel_functions.py +1 -1
channel_functions.py CHANGED
@@ -119,5 +119,5 @@ def which_channel_dominates(img_arr, original_image_plot = 'yes', original_image
119
  plt.title(text)
120
  fig.canvas.draw()
121
  # plt.plot()
122
- image_array = np.array(fig.canvas.renderer.buffer_rgb())
123
  return image_array
 
119
  plt.title(text)
120
  fig.canvas.draw()
121
  # plt.plot()
122
+ image_array = np.array(fig.canvas.renderer.buffer_rgba())
123
  return image_array