diff --git a/kwant/plotter.py b/kwant/plotter.py index b591d585e1f815cf881b09eae4ea7f33a460a1d1..2f38fa9ce7c3602ff7a41ccaa8677235b6888c8f 100644 --- a/kwant/plotter.py +++ b/kwant/plotter.py @@ -2115,7 +2115,8 @@ def streamplot(field, box, cmap=None, bgcolor=None, linecolor='k', ax.streamplot(X, Y, field[:,:,0], field[:,:,1], density=density, linewidth=linewidth, - color=color, cmap=line_cmap, arrowstyle='->') + color=color, cmap=line_cmap, arrowstyle='->', + norm=matplotlib.colors.Normalize(0, 1)) ax.set_xlim(*box[0]) ax.set_ylim(*box[1])