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

Skip to content

Commit 192a26c

Browse files
committed
prettify instantiation of ellipsecollection object
1 parent 111cdab commit 192a26c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

examples/pylab_examples/ellipse_collection.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@
1515

1616
fig, ax = plt.subplots()
1717

18-
ec = EllipseCollection(
19-
ww,
20-
hh,
21-
aa,
22-
units='x',
23-
offsets=XY,
24-
transOffset=ax.transData)
18+
ec = EllipseCollection(ww, hh, aa, units='x', offsets=XY,
19+
transOffset=ax.transData)
2520
ec.set_array((X + Y).ravel())
2621
ax.add_collection(ec)
2722
ax.autoscale_view()

0 commit comments

Comments
 (0)