SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

From: <md...@us...> - 2010年07月23日 16:46:46
Revision: 8571
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8571&view=rev
Author: mdboom
Date: 2010年07月23日 16:46:40 +0000 (2010年7月23日)
Log Message:
-----------
Oops in last commit.
Modified Paths:
--------------
 branches/v1_0_maint/lib/matplotlib/image.py
Modified: branches/v1_0_maint/lib/matplotlib/image.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/image.py	2010年07月23日 16:45:24 UTC (rev 8570)
+++ branches/v1_0_maint/lib/matplotlib/image.py	2010年07月23日 16:46:40 UTC (rev 8571)
@@ -338,7 +338,6 @@
 gc = renderer.new_gc()
 gc.set_clip_rectangle(self.axes.bbox.frozen())
 gc.set_clip_path(self.get_clip_path())
- print self.get_clip_path()
 
 if self._check_unsampled_image(renderer):
 self._draw_unsampled_image(renderer, gc)
@@ -542,9 +541,7 @@
 **kwargs
 )
 
- print "__init__", self.get_clip_on()
 
-
 def make_image(self, magnification=1.0):
 if self._A is None:
 raise RuntimeError('You must first set the image array or the image attribute')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <md...@us...> - 2010年12月14日 15:54:09
Revision: 8837
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8837&view=rev
Author: mdboom
Date: 2010年12月14日 15:54:03 +0000 (2010年12月14日)
Log Message:
-----------
NonUniformImage only supports nearest and bilinear interpolation, so if the user passes something else, an exception should be raised.
Modified Paths:
--------------
 branches/v1_0_maint/lib/matplotlib/image.py
Modified: branches/v1_0_maint/lib/matplotlib/image.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/image.py	2010年12月13日 21:17:52 UTC (rev 8836)
+++ branches/v1_0_maint/lib/matplotlib/image.py	2010年12月14日 15:54:03 UTC (rev 8837)
@@ -659,7 +659,7 @@
 interp = kwargs.pop('interpolation', 'nearest')
 AxesImage.__init__(self, ax,
 **kwargs)
- AxesImage.set_interpolation(self, interp)
+ self.set_interpolation(interp)
 
 def _check_unsampled_image(self, renderer):
 """
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /