Skip to content

Commit

Permalink
Merge pull request #104 from choderalab/quickmodel
Browse files Browse the repository at this point in the history
A few quick quickmodel updates
  • Loading branch information
sonyahanson committed May 20, 2017
2 parents 1478e9f + 8117d22 commit e12ecb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/quickmodel.py
Expand Up @@ -6,6 +6,9 @@
# or
# python quickmodel.py --inputs 'inputs_spectra_example' --type 'spectra'

import matplotlib
matplotlib.use('Agg')

from assaytools import parser
import matplotlib.pyplot as plt
import string
Expand Down Expand Up @@ -137,7 +140,7 @@ def quick_model(inputs, nsamples=1000, nthin=20):
plt.axvline(x=DeltaG_map,color='black')
plt.xlabel('$\Delta G$ ($k_B T$)',fontsize=16);
plt.ylabel('$P(\Delta G)$',fontsize=16);
plt.xlim(-35,-10)
plt.xlim(-20,-8)
hist_legend = mpatches.Patch(color=(0.7372549019607844, 0.5098039215686274, 0.7411764705882353),
label = '$\Delta G$ = %.3g [%.3g,%.3g] $k_B T$'
%(interval[1],interval[0],interval[2]) )
Expand Down

0 comments on commit e12ecb5

Please sign in to comment.