diff --git a/isimip_qa/mixins/plots.py b/isimip_qa/mixins/plots.py index 7e04567..04b0d48 100644 --- a/isimip_qa/mixins/plots.py +++ b/isimip_qa/mixins/plots.py @@ -236,7 +236,11 @@ def get_label(self, i): def get_style(self, i): if self.dimensions: - label = self.permutations[i][self.grid:] + if self.figs > 0: + label = self.permutations[i][self.grid:-self.figs] + else: + label = self.permutations[i][self.grid:] + if label not in self.styles: index = len(self.styles.keys()) color_index = index % len(self.colors)