Commit
·
5239d6a
1
Parent(s):
6f66ab8
Update channel_functions.py
Browse files- channel_functions.py +2 -1
channel_functions.py
CHANGED
|
@@ -110,8 +110,9 @@ def which_channel_dominates(img_arr, original_image_plot = 'yes', original_image
|
|
| 110 |
|
| 111 |
#Customize the ticks of the colorbar
|
| 112 |
plt.colorbar(plot, orientation='vertical',
|
| 113 |
-
# ticks=[1,2,3,4,5,6],
|
| 114 |
ticks = [],
|
|
|
|
|
|
|
| 115 |
label='Dominant Color Channel'
|
| 116 |
)
|
| 117 |
|
|
|
|
| 110 |
|
| 111 |
#Customize the ticks of the colorbar
|
| 112 |
plt.colorbar(plot, orientation='vertical',
|
|
|
|
| 113 |
ticks = [],
|
| 114 |
+
fraction=0.046,
|
| 115 |
+
pad=0.04
|
| 116 |
label='Dominant Color Channel'
|
| 117 |
)
|
| 118 |
|