Skip to content

Commit e30f87c

Browse files
Fixing vmax issue
1 parent 916f8a3 commit e30f87c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cs_util/plots.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,17 +563,15 @@ def plot_area(
563563
ax=ax,
564564
lon_0=ra_0,
565565
extent=extend,
566-
autorescale=True,
567-
vmin=vmin,
568-
vmax=vmax,
566+
autorescale=False,
569567
)
570568
else:
571569
ax = None
572570

573571
im = None
574572
try:
575573
im, lon_raster, lat_raster, values_raster = projection.draw_hspmap(
576-
hsp_map, lon_range=extend[0:2], lat_range=extend[2:]
574+
hsp_map, lon_range=extend[0:2], lat_range=extend[2:], vmin=vmin, vmax=vmax
577575
)
578576
except ValueError:
579577
msg = "No object found in region to draw"

0 commit comments

Comments
 (0)