Skip to content
Snippets Groups Projects
Commit d3c38153 authored by brusale's avatar brusale
Browse files

fix colors

parent 6ca57fad
Branches
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class clusters:
return binned_clusters_content, binned_clusters_x, binned_clusters_y, max_contribution, binned_clusters_fraction
def makePixelTruthPlot(self):
color = ['white', 'blue', 'green', 'red']
color = ['white'] + plt.cm.tab20(range(1, len(self.clusters) + 1)).tolist()
_, _, _, max_contribution, _ = self.binnedClusters()
size = len(self.bins) - 1
min_x = self.bins[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment