From 7e2f88800f1683519a2b4d31762e99599bf0317e Mon Sep 17 00:00:00 2001 From: John Veitch Date: Fri, 2 Feb 2018 15:28:25 +0000 Subject: [PATCH] Fix import of another script --- lalinference/python/cbcBayesPostProc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lalinference/python/cbcBayesPostProc.py b/lalinference/python/cbcBayesPostProc.py index 77efa780d9..139cc82c4b 100644 --- a/lalinference/python/cbcBayesPostProc.py +++ b/lalinference/python/cbcBayesPostProc.py @@ -46,7 +46,6 @@ from scipy import stats import matplotlib matplotlib.use("Agg") from matplotlib import pyplot as plt -import cbcBayesPlotSpinDisk as cbcdiskspin # Default font properties fig_width_pt = 246 # Get this from LaTeX using \showthe\columnwidth @@ -72,6 +71,7 @@ matplotlib.rcParams.update( #local application/library specific imports from pylal import SimInspiralUtils +import lalinference.plot from lalinference import bayespputils as bppu from lalinference import git_version @@ -689,7 +689,7 @@ def cbcBayesPostProc( else: wftd=html_wf.insert_td(row,'',label='DiskPlot',legend=legend) wfsection=html.add_section_to_element('DiskPlot',wftd) - cbcdiskspin.make_disk_plot(pos, outpath=outdir) + lalinference.plot.make_disk_plot(pos, outpath=outdir) wfsection.write('') #==================================================================# -- GitLab