Fix graph colours for real.
This commit is contained in:
parent
968dcbd4b8
commit
6fc32854b4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -48,8 +48,8 @@ def heatmap(data, row_labels, col_labels, ax=None,
|
|||
norm=colors.SymLogNorm(
|
||||
linthresh=linthresh,
|
||||
linscale=1.0,
|
||||
vmin=data.min(),
|
||||
vmax=data.max()
|
||||
vmin=-abs(data).max(),
|
||||
vmax=abs(data).max()
|
||||
),
|
||||
cmap='RdBu_r')
|
||||
cbar = ax.figure.colorbar(pcm, ax=ax, extend="both", ticks=SymmetricalLogLocator(base=2, linthresh=linthresh), format=LogFormatterSciNotation(base=2))
|
||||
|
|
Loading…
Reference in New Issue
Block a user