Created
March 2, 2017 11:19
-
-
Save eddiesmo/90af00a269fd3d60eb6c68c50779cca7 to your computer and use it in GitHub Desktop.
Jupyter notebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imports for jupyter notebook | |
import matplotlib.pyplot as plt | |
%matplotlib inline # display plots in this notebook | |
# set display defaults | |
plt.rcParams['figure.figsize'] = (10, 10) # large images | |
plt.rcParams[ | |
'image.interpolation'] = 'nearest' # don't interpolate: show square pixels | |
plt.rcParams[ | |
'image.cmap'] = 'gray' # use grayscale output rather than a (potentially misleading) color heatmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment