@@ -76,7 +76,9 @@ def _boxplot_xticks_labels(self):
76
76
return [str (n ) for n in self .result_set .ranked_names ]
77
77
78
78
def boxplot (
79
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
79
+ self ,
80
+ title : Optional [titleType ] = None ,
81
+ ax : Optional [matplotlib .axes .Axes ] = None ,
80
82
) -> matplotlib .figure .Figure :
81
83
"""For the specific mean score boxplot."""
82
84
data = self ._boxplot_dataset
@@ -98,7 +100,9 @@ def _winplot_dataset(self):
98
100
return wins , ranked_names
99
101
100
102
def winplot (
101
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
103
+ self ,
104
+ title : Optional [titleType ] = None ,
105
+ ax : Optional [matplotlib .axes .Axes ] = None ,
102
106
) -> matplotlib .figure .Figure :
103
107
"""Plots the distributions for the number of wins for each strategy."""
104
108
@@ -126,7 +130,9 @@ def _sdv_plot_dataset(self):
126
130
return diffs , ranked_names
127
131
128
132
def sdvplot (
129
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
133
+ self ,
134
+ title : Optional [titleType ] = None ,
135
+ ax : Optional [matplotlib .axes .Axes ] = None ,
130
136
) -> matplotlib .figure .Figure :
131
137
"""Score difference violin plots to visualize the distributions of how
132
138
players attain their payoffs."""
@@ -143,7 +149,9 @@ def _lengthplot_dataset(self):
143
149
]
144
150
145
151
def lengthplot (
146
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
152
+ self ,
153
+ title : Optional [titleType ] = None ,
154
+ ax : Optional [matplotlib .axes .Axes ] = None ,
147
155
) -> matplotlib .figure .Figure :
148
156
"""For the specific match length boxplot."""
149
157
data = self ._lengthplot_dataset
@@ -202,15 +210,19 @@ def _payoff_heatmap(
202
210
return figure
203
211
204
212
def pdplot (
205
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
213
+ self ,
214
+ title : Optional [titleType ] = None ,
215
+ ax : Optional [matplotlib .axes .Axes ] = None ,
206
216
) -> matplotlib .figure .Figure :
207
217
"""Payoff difference heatmap to visualize the distributions of how
208
218
players attain their payoffs."""
209
219
matrix , names = self ._pdplot_dataset
210
220
return self ._payoff_heatmap (matrix , names , title = title , ax = ax )
211
221
212
222
def payoff (
213
- self , title : Optional [titleType ] = None , ax : Optional [matplotlib .axes .Axes ] = None
223
+ self ,
224
+ title : Optional [titleType ] = None ,
225
+ ax : Optional [matplotlib .axes .Axes ] = None ,
214
226
) -> matplotlib .figure .Figure :
215
227
"""Payoff heatmap to visualize the distributions of how
216
228
players attain their payoffs."""
0 commit comments