ccm commited on
Commit
cd091f6
1 Parent(s): 0c42f75

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -30,8 +30,7 @@ cdict = {'red': [[0.00, 0.10, 0.10],
30
  [0.75, 0.20, 0.20],
31
  [1.00, 0.15, 0.15]]}
32
 
33
-
34
- hamster_colormap = matplotlib.colors.LinearSegmentedColormap('hamster', segmentdata=cdict, N=256)
35
 
36
  #simple image scaling to (nR x nC) size
37
  def scale(im, nR, nC):
 
30
  [0.75, 0.20, 0.20],
31
  [1.00, 0.15, 0.15]]}
32
 
33
+ cm = matplotlib.colors.LinearSegmentedColormap('hamster', segmentdata=cdict, N=256)
 
34
 
35
  #simple image scaling to (nR x nC) size
36
  def scale(im, nR, nC):