Fixed rotation of the noise map and of the image plot in colz function
This commit is contained in:
@@ -142,7 +142,7 @@ def plot_colz(hist2d, vmax=-1, vmin=0):
|
||||
if vmin>vmax:
|
||||
vmin=0
|
||||
fig1, axs1 = plt.subplots()
|
||||
vv=axs1.imshow(hist2d,origin='upper',cmap=plt.cm.gray,vmax=vmax,vmin=vmin, interpolation='none' )
|
||||
vv=axs1.imshow(np.transpose(hist2d),origin='upper',cmap=plt.cm.gray,vmax=vmax,vmin=vmin, interpolation='none' )
|
||||
fig1.colorbar(vv, ax=axs1)
|
||||
fig1.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user