From f7082b0266cc32c730aa3685191a1c156963bae8 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 23 Jun 2017 22:22:37 +0800 Subject: mergertree.py: axes.hold() is deprecated and it is True by default --- fg21sim/extragalactic/clusters/mergertree.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fg21sim/extragalactic/clusters/mergertree.py b/fg21sim/extragalactic/clusters/mergertree.py index 5891dba..22d1d3b 100644 --- a/fg21sim/extragalactic/clusters/mergertree.py +++ b/fg21sim/extragalactic/clusters/mergertree.py @@ -115,7 +115,6 @@ def plot_mtree(mtree, outfile, figsize=(12, 8)): fig = Figure(figsize=figsize) canvas = FigureCanvas(fig) ax = fig.add_subplot(1, 1, 1) - ax.hold(True) _plot(mtree, ax=ax) ax.set_xlabel("Cosmic time [Gyr]") ax.set_ylabel("Mass [Msun]") -- cgit v1.2.2