Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca65082

Browse filesBrowse files
committed
Fixed autopep8 issues.
1 parent 3de4e9f commit ca65082
Copy full SHA for ca65082

File tree

Expand file treeCollapse file tree

1 file changed

+3
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-9
lines changed

‎examples/pylab_examples/quiver_demo.py

Copy file name to clipboardExpand all lines: examples/pylab_examples/quiver_demo.py
+3-9Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
fontproperties={'weight': 'bold'})
2424
l, r, b, t = plt.axis()
2525
dx, dy = r - l, t - b
26-
plt.axis([l - 0.05 * dx, r + 0.05 * dx, b - 0.05 * dy, t + 0.05 * dy])
26+
plt.axis([l - 0.05*dx, r + 0.05*dx, b - 0.05*dy, t + 0.05*dy])
2727

2828
plt.title('Minimal arguments, no kwargs')
2929

@@ -41,14 +41,8 @@
4141
plt.figure()
4242
Q = plt.quiver(X[::3, ::3], Y[::3, ::3], U[::3, ::3], V[::3, ::3],
4343
pivot='mid', color='r', units='inches')
44-
qk = plt.quiverkey(
45-
Q,
46-
0.5,
47-
0.03,
48-
1,
49-
r'$1 \frac{m}{s}$',
50-
fontproperties={
51-
'weight': 'bold'})
44+
qk = plt.quiverkey(Q, 0.5, 0.03, 1, r'$1 \frac{m}{s}$',
45+
fontproperties={'weight': 'bold'})
5246
plt.plot(X[::3, ::3], Y[::3, ::3], 'k.')
5347
plt.axis([-1, 7, -1, 7])
5448
plt.title("pivot='mid'; every third arrow; units='inches'")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.