Mercurial > repos > chemteam > mdanalysis_distance
diff distance.py @ 1:560e55dd269c draft
planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 9b44a37fc1a0c338693f54eaf52b582439ca9f0c
author | chemteam |
---|---|
date | Thu, 20 Dec 2018 06:45:47 -0500 |
parents | b8e2e0e7a238 |
children | f88922781345 |
line wrap: on
line diff
--- a/distance.py Mon Oct 08 12:41:21 2018 -0400 +++ b/distance.py Thu Dec 20 06:45:47 2018 -0500 @@ -6,12 +6,11 @@ import MDAnalysis as mda import matplotlib +matplotlib.use('Agg') # noqa import matplotlib.pyplot as plt import numpy as np -matplotlib.use('Agg') - def parse_command_line(argv): parser = argparse.ArgumentParser() @@ -53,5 +52,5 @@ distance = [xtmp[1] for xtmp in data] plt.plot(time, distance) plt.xlabel('Frame No.') - plt.ylabel('Distance ($\AA$)') + plt.ylabel(r'Distance ($\AA$)') plt.savefig(args.odistance_plot, format='png')