Skip to content

Commit 14041bb

Browse files
committed
Remove automatic vmin and vmax because of bins
1 parent 8f2fe0c commit 14041bb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

climada/util/plot.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ def geo_bin_from_array(array_sub, geo_coord, var_name, title, pop_name=True,
6262

6363
if 'cmap' not in kwargs:
6464
kwargs['cmap'] = 'Wistia'
65-
if 'vmin' not in kwargs:
66-
if ignore_zero:
67-
kwargs['vmin'] = np.min(array_sub[array_sub > 0])
68-
else:
69-
kwargs['vmin'] = np.min(array_sub)
70-
if 'vmax' not in kwargs:
71-
kwargs['vmax'] = np.max(array_sub)
7265

7366
# Generate each subplot
7467
fig, axis_sub = make_map(num_im)

0 commit comments

Comments
 (0)