Change default interpolation to nearest#4622
Change default interpolation to nearest#4622jenshnielsen wants to merge 13 commits intomatplotlib:masterfrom
Conversation
a37968a to
6dff273
Compare
|
Need to refresh the following tests matplotlib.tests.test_axes.test_specgram_angle_freqs.test |
|
Changing to "nearest" makes sense to me; I have never seen the present default as useful. |
|
👍 |
lib/matplotlib/image.py
Outdated
There was a problem hiding this comment.
Should the comma be removed between "nearest" and "and 'bilinear'"?
|
I agree with this change. However, the one downside is that it will increase file sizes for the vector backends (since the data will now be upsampled to the output resolution). We should probably include that as a note in the "What's new" about this change. |
|
Doesn't that depend on whether the default is 'none' versus 'nearest'? On Mon, Jul 13, 2015 at 12:47 PM, Michael Droettboom <
|
|
@WeatherGod: You're right. Ignore my comment. |
|
👍 for changing to nearest by default |
|
👍 for nearest. I'm seeing more and more figures making it in to published literature using 'none', which are unreadable. Changing this default would promote best-practices for scientific figures. |
CLN: Remove various Python 2.6 related workarounds
Fix matplotlib#347: Faster text rendering in Agg
FIX: Apply asanyarray to arguments for pcolor and family
DOC: correct indentation
…ndent Merge pull request matplotlib#5407 from tacaswell/doc_boxplot
MNT: Remove uses of font.get_charmap
Conflicts:
lib/matplotlib/tests/test_font_manager.py
Conflicts with merging the tests, resloved to add only relavent code.
Merge pull request matplotlib#5410 from mdboom/get-charmap-removal
Use a specific version of Freetype for testing
6dff273 to
dd2cb75
Compare
|
replaced by #5416 against the correct branch and with the typo fixed |
As discussed in the Scipy BOF I propose changing the default interpolation of imshow to nearest.
I haven't yet refreshed any of the tests. So this will likely fail.