This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from matplotlib.pyplot import figure, scatter, colorbar | |
from matplotlib.colors import ListedColormap, BoundaryNorm | |
def get_colors(): | |
values = [0., 0.01, 0.1, 0.25, 0.5, 0.75, 1., 1.25, 1.5, 1.75, 2., 2.5, 3., | |
4., 5., 6., 7., 8., 9., 10., 11., 12., 13., 14., 15.] | |
colors = ["#FFFFFF", "#7FFF00", "#00CD00", "#008B00", "#104E8B", "#1E90FF", | |
"#00B2EE", "#00EEEE", "#8968CD", "#912CEE", "#8B008B", "#8B0000", |
NewerOlder