فهرست منبع

Addressing review feedback

Alexander Bezzubov 7 سال پیش
والد
کامیت
bf7da5b1c6
3فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 5 4
      README.md
  2. 1 1
      couples.go
  3. 0 1
      requirements.txt

+ 5 - 4
README.md

@@ -168,6 +168,11 @@ python3 labours.py [--style=white|black] [--backend=]
 `--style` changes the background to be either white ("black" foreground) or black ("white" foreground).
 `--backend` chooses the Matplotlib backend.
 
+To use matplotlib on macOS and avoid runtime errors, one can pin default backend by
+```
+echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc
+```
+
 These options are effective in burndown charts only:
 
 ```
@@ -184,10 +189,6 @@ in-memory storage may require much RAM, for example, the Linux kernel takes over
 1. Parsing YAML in Python is slow when the number of internal objects is big. `hercules`' output
 for the Linux kernel in "couples" mode is 1.5 GB and takes more than an hour / 180GB RAM to be
 parsed. However, most of the repositories are parsed within a minute.
-1. To use matplotlib on macOS and avoid runtime errors do
-   ```
-   echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc
-   ```
 1. To speed-up yaml parsing
    ```
    apt-get install yaml-cpp-dev

+ 1 - 1
couples.go

@@ -110,7 +110,7 @@ func (couples *Couples) Finalize() interface{} {
 		peopleMatrix[i] = map[int]int64{}
 		for file, commits := range couples.people[i] {
 			//could be normalized further, by replacing file with idx in fileSequence
-			//but the would trade the space for readabilyt of result
+			//but this would trade the space for readability of result
 			peopleFiles[i] = append(peopleFiles[i], file)
 			for j, otherFiles := range couples.people {
 				if i == j {

+ 0 - 1
requirements.txt

@@ -9,5 +9,4 @@ python-dateutil==2.6.1
 pytz==2017.2
 PyYAML==3.12
 scipy==0.19.1
-seaborn==0.8
 six==1.10.0