Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Pep8ify examples#3425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 21 commits intomatplotlib:masterfromtwmr:pep8p1
Sep 9, 2014
Merged
Changes from1 commit
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
99d3477
pep8ify: examples/animation
twmrAug 26, 2014
1c37e78
pep8ify: examples/api
twmrAug 26, 2014
d0d9632
pep8ify: examples/axes_grid
twmrAug 27, 2014
75b465c
add parens for the sake of clarity
twmrAug 28, 2014
9c2724c
fix awkward line break induced by autopep8
twmrAug 28, 2014
64dfd4a
minor cleanup in collections_demo.py
twmrAug 28, 2014
1d8d5c5
fix some pep8 issues overseen by autopep8
twmrAug 28, 2014
4a0f5f4
test the pep8 conformance of the mpl examples
twmrAug 28, 2014
1171a96
fix some pep8 issues overseen by autopep8
twmrAug 28, 2014
dbd543e
pep8: there are no exp. bad files for the examples
twmrAug 28, 2014
ccb8efe
fix too many blank lines
twmrAug 28, 2014
d65f921
refactor pep8 conformance test
twmrAug 29, 2014
9debab4
probably this is some kind of docstring for class attrs
twmrAug 29, 2014
6636c30
remove empty lines after class decl
twmrAug 30, 2014
47fbcd5
comments containing code may not start with a space after the pound
twmrAug 30, 2014
706f57d
fixed spaces around comments
twmrAug 30, 2014
9bcd5d3
simplify code: use ``endpoint`` kwargs
twmrAug 30, 2014
f71c40d
newline fix
twmrAug 30, 2014
a1cda13
fix spaces around = in kwargs
twmrAug 30, 2014
23413a8
typo
twmrAug 30, 2014
43c4c50
spaces
twmrAug 30, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix awkward line break induced by autopep8
  • Loading branch information
@twmr
twmr committedAug 28, 2014
commit9c2724ca34bb7d76b76ffe20f304cef65ab8391c
12 changes: 5 additions & 7 deletionsexamples/api/scatter_piecharts.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,14 +29,12 @@

x = [0] + np.cos(np.linspace(2*math.pi*r2, 2*math.pi, 10)).tolist()
y = [0] + np.sin(np.linspace(2*math.pi*r2, 2*math.pi, 10)).tolist()
xy3 = list(zip(x,y))
xy3 = list(zip(x,y))


fig, ax = plt.subplots()
ax.scatter(np.arange(3), np.arange(3), marker=(
xy1, 0), s=sizes, facecolor='blue')
ax.scatter(np.arange(3), np.arange(3), marker=(
xy2, 0), s=sizes, facecolor='green')
ax.scatter(np.arange(3), np.arange(3), marker=(
xy3, 0), s=sizes, facecolor='red')
d = np.arange(3)
ax.scatter(d, d, marker=(xy1, 0), s=sizes, facecolor='blue')
ax.scatter(d, d, marker=(xy2, 0), s=sizes, facecolor='green')
ax.scatter(d, d, marker=(xy3, 0), s=sizes, facecolor='red')
plt.show()

[8]ページ先頭

©2009-2025 Movatter.jp