Skip to content

Commit

Permalink
check ch03 on latest softw.
Browse files Browse the repository at this point in the history
rasbt committed Dec 5, 2019
1 parent 99472cc commit 9fc0b1e
Showing 2 changed files with 40 additions and 25 deletions.
53 changes: 30 additions & 23 deletions ch03/ch03.ipynb

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions ch03/ch03.py
Original file line number Diff line number Diff line change
@@ -35,7 +35,15 @@



# *The use of `watermark` is optional. You can install this IPython extension via "`pip install watermark`". For more information, please see: https://github.com/rasbt/watermark.*
# *The use of `watermark` is optional. You can install this Jupyter extension via*
#
# conda install watermark -c conda-forge
#
# or
#
# pip install watermark
#
# *For more information, please see: https://github.com/rasbt/watermark.*

# ### Overview

@@ -627,7 +635,7 @@ def error(p):
plt.ylim([0, 1.1])
plt.xlabel('p(i=1)')
plt.ylabel('impurity index')
plt.savefig('images/03_19.png', dpi=300, bbox_inches='tight')
#plt.savefig('images/03_19.png', dpi=300, bbox_inches='tight')
plt.show()


0 comments on commit 9fc0b1e

Please sign in to comment.