diff --git a/wms/mpl_handler.py b/wms/mpl_handler.py index 2691bda..f2c6665 100644 --- a/wms/mpl_handler.py +++ b/wms/mpl_handler.py @@ -113,7 +113,7 @@ def quiver_response(lon, # Set to black like ncWMS? # Configurable by user? norm = None - if cmin and cmax: + if cmin is not None and cmax is not None: mags[mags > cmax] = cmax mags[mags < cmin] = cmin bounds = np.linspace(cmin, cmax, 15)