Skip to content

Commit 7dffc90

Browse files
committed
[#894] Add matplotlib version into call to default_cmap
1 parent 331390f commit 7dffc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _payoff_heatmap(
201201
width = max(self.nplayers / 4, 12)
202202
height = width
203203
figure.set_size_inches(width, height)
204-
cmap = default_cmap()
204+
cmap = default_cmap(matplotlib_version)
205205
mat = ax.matshow(data, cmap=cmap)
206206
plt.xticks(range(self.result_set.nplayers))
207207
plt.yticks(range(self.result_set.nplayers))

0 commit comments

Comments
 (0)