New graphs
|
@ -198,7 +198,7 @@ interface PlotSpec {
|
|||
function createGraph(
|
||||
title: string,
|
||||
...options: PlotSpec[]) {
|
||||
const process = exec("python GenPlot.py \"graphs/" + title + "\"", ((error, stdout, stderr) => {
|
||||
const process = exec("python3 GenPlot.py \"graphs/" + title + "\"", ((error, stdout, stderr) => {
|
||||
console.log("Python: ", stdout)
|
||||
if (error !== null) {
|
||||
console.error(error)
|
||||
|
@ -571,12 +571,12 @@ function createGraphs(allFeatures: ChangeSetData[], appliedFilterDescription: st
|
|||
})
|
||||
const total = new Set(allFeatures.map(f => f.properties.user)).size
|
||||
createGraph(
|
||||
`Contributors per day${appliedFilterDescription} (${total} total contributors)`,
|
||||
`Contributors per day${appliedFilterDescription}`,
|
||||
contributorCountPerDay
|
||||
.asHist(true)
|
||||
.keyToDate(true)
|
||||
.asBar({
|
||||
name: "Unique contributors per day"
|
||||
name: `Unique contributors per day (${total} total contributors)`
|
||||
}),
|
||||
newContributorsPerDay
|
||||
.asHist(true)
|
||||
|
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 267 KiB |
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 231 KiB After Width: | Height: | Size: 232 KiB |
Before Width: | Height: | Size: 477 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 514 KiB After Width: | Height: | Size: 520 KiB |
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 176 KiB |
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 379 KiB |
Before Width: | Height: | Size: 436 KiB After Width: | Height: | Size: 439 KiB |
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 352 KiB After Width: | Height: | Size: 358 KiB |
Before Width: | Height: | Size: 427 KiB After Width: | Height: | Size: 436 KiB |
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 98 KiB |