Skip to content

Commit

Permalink
Lower the range of the difference in example for better contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
vene committed Aug 24, 2011
1 parent 02b8860 commit cb593a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/decomposition/plot_img_denoising.py
Expand Up @@ -72,7 +72,7 @@ def show_with_diff(image, reference, title):
pl.yticks(())
pl.subplot(1, 2, 2)
pl.title("Difference")
pl.imshow(image - reference, vmin=-1, vmax=1, cmap=pl.cm.PuOr,
pl.imshow(image - reference, vmin=-0.5, vmax=0.5, cmap=pl.cm.PuOr,
interpolation='nearest')
pl.xticks(())
pl.yticks(())
Expand Down

0 comments on commit cb593a7

Please sign in to comment.