From 928a296a16d18f0f3843240f546e45bb2fbf6ff7 Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Thu, 21 Sep 2023 11:36:09 -0500 Subject: [PATCH] -- --- docs/examples/bayesian-example-NGC6440E.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/examples/bayesian-example-NGC6440E.py b/docs/examples/bayesian-example-NGC6440E.py index f6d171608..0c45189ae 100644 --- a/docs/examples/bayesian-example-NGC6440E.py +++ b/docs/examples/bayesian-example-NGC6440E.py @@ -128,8 +128,9 @@ # %% # Plot the posterior distribution. -fig = corner.corner(samples_emcee, labels=bt.param_labels) -plt.show() +if not rtd: + fig = corner.corner(samples_emcee, labels=bt.param_labels) + plt.show() # %% [markdown] # ## Nested sampling with nestle