@@ -714,7 +714,7 @@ def make_mapping_array(N, data, gamma=1.0, inverse=False):
714714
715715class _Colormap (object ):
716716 """Mixin class used to add some helper methods."""
717- def _get_data (self , ext , alpha = False ):
717+ def _get_data (self , ext , alpha = True ):
718718 """
719719 Return a string containing the colormap colors for saving.
720720
@@ -1003,7 +1003,7 @@ def func_r(x):
10031003 kwargs [key ] = gamma [::- 1 ]
10041004 return self .updated (name , segmentdata , ** kwargs )
10051005
1006- def save (self , path = None , alpha = False ):
1006+ def save (self , path = None , alpha = True ):
10071007 """
10081008 Save the colormap data to a file.
10091009
@@ -1357,7 +1357,7 @@ def concatenate(self, *args, name=None, N=None, **kwargs):
13571357 colors = [color for cmap in cmaps for color in cmap .colors ]
13581358 return self .updated (colors , name , N or len (colors ), ** kwargs )
13591359
1360- def save (self , path = None , alpha = False ):
1360+ def save (self , path = None , alpha = True ):
13611361 """
13621362 Save the colormap data to a file.
13631363
0 commit comments