need to restore plot_result
@@ -565,7 +565,7 @@ class daily_age_stats(Analyzer):
ax.legend()
ax.set_xlabel('Day')
ax.set_ylabel('Count')
- cvpl.date_formatter(start_day=self.start_day, dateformat=dateformat, ax=ax)
+ sc.dateformatter(start_date=self.start_day, dateformat=dateformat, ax=ax)
# Plot total histograms
else:
@@ -2052,7 +2052,7 @@ class TransTree(Analyzer):
dat.plot(ax=ax, legend=None, **plot_args)
pl.legend(title=None)
ax.set_title(title)
- cvpl.date_formatter(start_day=self.sim_start, ax=ax)
+ sc.dateformatter(start_date=self.sim_start, ax=ax)
ax.set_ylabel('Count')
to_plot = dict(
