Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change default image interpolation to nearest
  • Loading branch information
jenshnielsen committed Nov 8, 2015
commit 7e4924f8b0b70708dfa9e206d8b3e08eb776c98d
2 changes: 1 addition & 1 deletion lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ def validate_cycler(s):
'mathtext.fallback_to_cm': [True, validate_bool],

'image.aspect': ['equal', validate_aspect], # equal, auto, a number
'image.interpolation': ['bilinear', six.text_type],
'image.interpolation': ['nearest', six.text_type],
'image.cmap': ['jet', six.text_type], # one of gray, jet, etc
'image.lut': [256, validate_int], # lookup table
'image.origin': ['upper', six.text_type], # lookup table
Expand Down
2 changes: 1 addition & 1 deletion matplotlibrc.template
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ backend : %(backend)s

### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : bilinear # see help(imshow) for options
#image.interpolation : nearest # see help(imshow) for options
#image.cmap : jet # gray | jet etc...
#image.lut : 256 # the size of the colormap lookup table
#image.origin : upper # lower | upper
Expand Down