Skip to content

Commit 6ea09d3

Browse files
committed
Removing depreciation for eco plots.
1 parent 8a11ced commit 6ea09d3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

axelrod/plot.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,7 @@ def stackplot(self, eco, title=None):
242242
if not self.matplotlib_installed:
243243
return None
244244

245-
if type(eco) is list:
246-
warn("""Passing the population sizes as an argument is deprecated and will be removed, please pass the Ecosystem directly""")
247-
populations = eco
248-
else:
249-
populations = eco.population_sizes
245+
populations = eco.population_sizes
250246

251247
figure, ax = plt.subplots()
252248
turns = range(len(populations))

0 commit comments

Comments
 (0)