Skip to content
Snippets Groups Projects
Commit 07819955 authored by Avi Vajpeyi's avatar Avi Vajpeyi :alien:
Browse files

Merge branch '40-matplotlib-use-agg-backend' into 'master'

Resolve "Matplotlib use 'agg' backend"

Closes #40

See merge request lscsoft/parallel_bilby!89
parents 0b69dbfe c1f756bd
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ import bilby
import dill
import dynesty
import dynesty.plotting as dyplot
import matplotlib
import matplotlib.pyplot as plt
import mpi4py
import nestcheck.data_processing
......@@ -36,6 +37,8 @@ from .utils import (
stopwatch,
)
matplotlib.use("Agg")
mpi4py.rc.threads = False
mpi4py.rc.recv_mprobe = False
......
......@@ -14,6 +14,7 @@ from pathlib import Path
import bilby
import emcee
import matplotlib
import matplotlib.pyplot as plt
import mpi4py
import numpy as np
......@@ -26,6 +27,8 @@ from schwimmbad import MPIPool
from .parser import create_analysis_parser
from .utils import fill_sample, get_initial_points_from_prior
matplotlib.use("Agg")
mpi4py.rc.threads = False
mpi4py.rc.recv_mprobe = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment