Skip to content

Commit ba5dab8

Browse files
committed
surpress nautilus visualization noise output
1 parent 43fd6e9 commit ba5dab8

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

autofit/non_linear/search/nest/nautilus/plotter.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ def cornerplot(self, **kwargs):
1313
import corner
1414
import matplotlib.pyplot as plt
1515

16+
import logging
17+
logger = logging.getLogger().setLevel(logging.CRITICAL)
18+
1619
points = np.asarray(self.samples.parameter_lists)
1720

1821
ndim = points.shape[1]
@@ -34,8 +37,11 @@ def cornerplot(self, **kwargs):
3437
weights=self.samples.weight_list,
3538
labels=self.model.parameter_labels_with_superscripts_latex,
3639
fig=fig,
40+
3741
**kwargs
3842
)
3943

4044
self.output.to_figure(structure=None, auto_filename="cornerplot")
4145
self.close()
46+
47+
logger = logging.getLogger().setLevel(logging.INFO)

optional_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ astropy>=5.0
22
getdist==1.4
33
jax==0.4.10
44
jaxlib==0.4.10
5-
nautilus-sampler==0.7.2
5+
nautilus-sampler==0.7.4
66
ultranest==3.6.2
77
zeus-mcmc==2.5.4

0 commit comments

Comments
 (0)