File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ def boxplot(self):
6060 def _winplot_dataset (self ):
6161 # Sort wins by median
6262 wins = self .result_set .wins
63- ranked_names = self .result_set .ranked_names
64- medians = map (numpy .median , wins )
6563 players = self .result_set .players
64+ medians = map (numpy .median , wins )
6665 medians = sorted ([(m , i ) for (i , m ) in enumerate (medians )], reverse = True )
6766 # Reorder and grab names
6867 wins = [wins [x [1 ]] for x in medians ]
@@ -71,7 +70,7 @@ def _winplot_dataset(self):
7170
7271 @property
7372 def _winplot_title (self ):
74- return ("Distribution of wins"
73+ return ("Distributions of wins: "
7574 " {} turns repeated {} times ({} strategies)" ).format (
7675 self .result_set .turns ,
7776 self .result_set .repetitions ,
You can’t perform that action at this time.
0 commit comments