aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/mergertree.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-06-23 22:22:37 +0800
committerAaron LI <aly@aaronly.me>2017-06-23 22:22:37 +0800
commitf7082b0266cc32c730aa3685191a1c156963bae8 (patch)
treec8783a9ed945c41c9c6781d9a0a0e1a301712911 /fg21sim/extragalactic/clusters/mergertree.py
parent51a061c12e1ab99644c1dc45a8ce36a796e68609 (diff)
downloadfg21sim-f7082b0266cc32c730aa3685191a1c156963bae8.tar.bz2
mergertree.py: axes.hold() is deprecated and it is True by default
Diffstat (limited to 'fg21sim/extragalactic/clusters/mergertree.py')
-rw-r--r--fg21sim/extragalactic/clusters/mergertree.py1
1 files changed, 0 insertions, 1 deletions
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]")