Skip to content

Commit

Permalink
added a missing histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdalton committed Feb 2, 2021
1 parent 7a1c6bd commit 71f10b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/data/french_wilson/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
plt.xlabel('Percent Error (J)')
plt.savefig("J_hist.png")

plt.figure()
plt.hist((100.*(rs_F - F)/F)[~Centric], 100, color='k', label='Acentric', alpha=0.4)
plt.hist((100.*(rs_F - F)/F)[Centric], 100, color='r', label='Centric', alpha=0.4)
plt.legend()
plt.xlabel('Percent Error (F)')
plt.savefig("F_hist.png")

plt.figure()
plt.hist((100.*(rs_SigF - SigF)/SigF)[~Centric], 100, color='k', label='Acentric', alpha=0.4)
plt.hist((100.*(rs_SigF - SigF)/SigF)[Centric], 100, color='r', label='Centric', alpha=0.4)
Expand Down

0 comments on commit 71f10b4

Please sign in to comment.