Fix graph colours.
This commit is contained in:
parent
0a7f5e20d4
commit
968dcbd4b8
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.
|
@ -40,7 +40,7 @@ def heatmap(data, row_labels, col_labels, ax=None,
|
||||||
if logcolor:
|
if logcolor:
|
||||||
pcm = ax.pcolor(data,
|
pcm = ax.pcolor(data,
|
||||||
norm=colors.LogNorm(vmin=data.min(), vmax=data.max()),
|
norm=colors.LogNorm(vmin=data.min(), vmax=data.max()),
|
||||||
cmap='Blues')
|
cmap='Reds')
|
||||||
cbar = ax.figure.colorbar(pcm, ax=ax, extend="max", ticks=LogLocator(base=2), format=LogFormatterSciNotation(base=2))
|
cbar = ax.figure.colorbar(pcm, ax=ax, extend="max", ticks=LogLocator(base=2), format=LogFormatterSciNotation(base=2))
|
||||||
elif sym_logcolor:
|
elif sym_logcolor:
|
||||||
linthresh = 1.0
|
linthresh = 1.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user