mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
colorscheme v3 (again by rageon, complaints by Damien)
This commit is contained in:
parent
61600f58ed
commit
84f953c754
1 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ from stats""")
|
||||||
dl = [x for x in dayslist.items() if x[0] <= days]
|
dl = [x for x in dayslist.items() if x[0] <= days]
|
||||||
argl.extend(list(self.unzip(dl)))
|
argl.extend(list(self.unzip(dl)))
|
||||||
|
|
||||||
self.filledGraph(graph, days, ["#d33d3e", "#a43635"], *argl)
|
self.filledGraph(graph, days, ["#f54949", "#c63434"], *argl)
|
||||||
|
|
||||||
cheat = fig.add_subplot(111)
|
cheat = fig.add_subplot(111)
|
||||||
b1 = cheat.bar(0, 0, color = "#d33d3e")
|
b1 = cheat.bar(0, 0, color = "#d33d3e")
|
||||||
|
|
@ -166,7 +166,7 @@ from stats""")
|
||||||
break
|
break
|
||||||
x = list(x); x.append(99999)
|
x = list(x); x.append(99999)
|
||||||
y.append(count)
|
y.append(count)
|
||||||
self.filledGraph(graph, days, "#eed0a2", x, y)
|
self.filledGraph(graph, days, "#fc9c9c", x, y)
|
||||||
graph.set_xlim(xmin=self.stats['lowestInDay'], xmax=days)
|
graph.set_xlim(xmin=self.stats['lowestInDay'], xmax=days)
|
||||||
graph.set_ylim(ymax=graph.get_ylim()[1]+10)
|
graph.set_ylim(ymax=graph.get_ylim()[1]+10)
|
||||||
return fig
|
return fig
|
||||||
|
|
@ -262,7 +262,7 @@ from stats""")
|
||||||
arrsize = 16
|
arrsize = 16
|
||||||
arr = [0] * arrsize
|
arr = [0] * arrsize
|
||||||
n = 0
|
n = 0
|
||||||
colours = ["#a7afeb", "#3d4fd4", "#313f97"]
|
colours = ["#a7afeb", "#3d4fd4", "#1b2ba3"]
|
||||||
bars = []
|
bars = []
|
||||||
gs = anki.stats.globalStats(self.deck)
|
gs = anki.stats.globalStats(self.deck)
|
||||||
for type in types:
|
for type in types:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue