Skip to content
Snippets Groups Projects

Resolve "Improve colors of graphs"

Merged Jonathan Weth requested to merge 16-improve-colors-of-graphs into master
1 file
+ 10
10
Compare changes
  • Side-by-side
  • Inline
+ 10
10
@@ -642,21 +642,21 @@ class Answer(models.IntegerChoices):
@classproperty
def background_colors(cls) -> Dict[int, str]: # noqa
return {
1: "rgba(75, 192, 192, 0.2)",
2: "rgba(255, 205, 86, 0.2)",
3: "rgba(255, 159, 64, 0.2)", # FIXME
4: "rgba(255, 159, 64, 0.2)",
5: "rgba(255, 99, 132, 0.2)",
1: "#88bf4a",
2: "#bbd154",
3: "#efe258",
4: "#f29e58",
5: "#eb595a",
}
@classproperty
def border_colors(cls) -> Dict[int, str]: # noqa
return {
1: "rgb(75, 192, 192)",
2: "rgb(255, 205, 86)",
3: "rgb(255, 159, 64)", # FIXME
4: "rgb(255, 159, 64)",
5: "rgb(255, 99, 132)",
1: "#88bf4a",
2: "#bbd154",
3: "#efe258",
4: "#f29e58",
5: "#eb595a",
}
Loading