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

Skip to content

Commit 1b43ea7

Browse files
committed
examples: remove newlines @eof + remove spaces/tabs from emtpy lines
steps to reproduce (autopep8 -i --select E111 */*.py) + remove changes in non-empty lines Signed-off-by: Thomas Hisch <[email protected]>
1 parent 01b9b47 commit 1b43ea7

File tree

107 files changed

+30
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+30
-176
lines changed

examples/color/color_cycle_demo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@
3030
# Tweak spacing between subplots to prevent labels from overlapping
3131
plt.subplots_adjust(hspace=0.3)
3232
plt.show()
33-
34-

examples/event_handling/data_browser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,3 @@ def update(self):
7979
fig.canvas.mpl_connect('key_press_event', browser.onpress)
8080

8181
plt.show()
82-

examples/event_handling/figure_axes_enter_leave.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,3 @@ def leave_figure(event):
4646
fig2.canvas.mpl_connect('axes_leave_event', leave_axes)
4747

4848
plt.show()
49-
50-

examples/event_handling/idle_and_timeout.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,3 @@ def on_idle(event):
3333
fig.canvas.mpl_connect('idle_event', on_idle)
3434

3535
plt.show()
36-
37-

examples/event_handling/path_editor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,3 @@ def motion_notify_callback(self, event):
136136
ax.set_ylim(-3,4)
137137

138138
plt.show()
139-
140-

examples/event_handling/pick_event_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,3 @@ def onpick4(event):
172172

173173

174174
plt.show()
175-

examples/event_handling/pick_event_demo2.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,3 @@ def onpick(event):
3636
fig.canvas.mpl_connect('pick_event', onpick)
3737

3838
plt.show()
39-
40-
41-
42-
43-

examples/event_handling/poly_editor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,3 @@ def motion_notify_callback(self, event):
159159
ax.set_xlim((-2,2))
160160
ax.set_ylim((-2,2))
161161
plt.show()
162-

examples/event_handling/zoom_window.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ def onpress(event):
3636

3737
figsrc.canvas.mpl_connect('button_press_event', onpress)
3838
show()
39-

examples/images_contours_and_fields/image_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
plt.imshow(image)
1111
plt.axis('off') # clear x- and y-axes
1212
plt.show()
13-

0 commit comments

Comments
 (0)