Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 111cdab

Browse files
committed
consider @weathergods suggestions
1 parent 85519f0 commit 111cdab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/pylab_examples/demo_ribbon_box.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def get_stretched_image(self, stretch_factor):
3939
cut = self.im[self.cut_location, :, :]
4040
stretched_image[:, :, :] = cut
4141
stretched_image[:self.cut_location, :, :] = \
42-
self.im[:self.cut_location, :, :]
42+
self.im[:self.cut_location, :, :]
4343
stretched_image[-(ny - self.cut_location):, :, :] = \
44-
self.im[-(ny - self.cut_location):, :, :]
44+
self.im[-(ny - self.cut_location):, :, :]
4545

4646
self._cached_im = stretched_image
4747
return stretched_image

examples/pylab_examples/image_origin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
x.shape = 10, 10
1212

1313
interp = 'bilinear'
14-
#interp = 'nearest';
14+
#interp = 'nearest'
1515
lim = -2, 11, -2, 6
1616
subplot(211, axisbg='g')
1717
title('blue should be up')

examples/pylab_examples/line_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
colors=[colorConverter.to_rgba(i)
3636
for i in ('b', 'g', 'r', 'c',
3737
'm', 'y', 'k')],
38-
linestyle = 'solid')
38+
linestyle='solid')
3939
ax.add_collection(line_segments)
4040
ax.set_title('Line collection with masked arrays')
4141
plt.show()

0 commit comments

Comments
 (0)