diff --git a/meshplot/utils.py b/meshplot/utils.py index 91867f2..4cd38f0 100644 --- a/meshplot/utils.py +++ b/meshplot/utils.py @@ -5,7 +5,7 @@ # Helper functions def get_colors(inp, colormap="viridis", normalize=True, vmin=None, vmax=None): colormap = plt.cm.get_cmap(colormap) - if normalize: + if not normalize: vmin=np.min(inp) vmax=np.max(inp)