Skip to content

Commit

Permalink
Merge pull request #228 from williamjameshandley/227-update-gui-scrip…
Browse files Browse the repository at this point in the history
…t-for-new-anesthetic

update gui script
  • Loading branch information
yallup authored Sep 9, 2022
2 parents e111709 + 1b41731 commit 85d5243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/anesthetic
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
import argparse
import matplotlib.pyplot as plt
from anesthetic import NestedSamples
from anesthetic import read_chains

# Parse arguments
description = "Nested sampling visualisation"
Expand All @@ -12,6 +12,6 @@ parser.add_argument('--params', '-p', nargs='*', type=str,
args = parser.parse_args()

# Generate the rhinestone plotter
samples = NestedSamples(root=args.file_root)
samples = read_chains(root=args.file_root)
plotter = samples.gui(args.params)
plt.show()

0 comments on commit 85d5243

Please sign in to comment.