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 08610fc

Browse filesBrowse files
committed
More progress on examples.
svn path=/branches/transforms/; revision=3939
1 parent 4dce46f commit 08610fc
Copy full SHA for 08610fc

11 files changed

+386
-336
lines changed

‎PASSED_DEMOS

Copy file name to clipboardExpand all lines: PASSED_DEMOS
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ anscombe.py O
1616
arctest.py O
1717
arrow_demo.py O
1818
axes_demo.py O
19-
axes_props.py [SOMETHING FUNNY ABOUT DASHED LINES]
19+
axes_props.py O
2020
axhspan_demo.py O
2121
axis_equal_demo.py O
22-
backend_driver.py
22+
backend_driver.py [N/A]
2323
barchart_demo.py O
2424
barcode_demo.py O
2525
barh_demo.py [BROKEN IN TRUNK]
@@ -29,14 +29,14 @@ break.py O
2929
broken_barh.py O
3030
clippath_test.py O
3131
clippedline.py O
32-
collections_demo.py -- [NEEDS ADDITIONAL WORK]
32+
collections_demo.py O
3333
colorbar_only.py O
3434
color_by_yvalue.py O
3535
color_demo.py O
3636
colours.py [???]
37-
contour_demo.py
38-
contourf_demo.py
39-
contour_image.py
37+
contour_demo.py O
38+
contourf_demo.py [FLOATING POINT EXCEPTION]
39+
contour_image.py [FLOATING POINT EXCEPTION]
4040
coords_demo.py O
4141
coords_report.py O
4242
csd_demo.py O

‎examples/collections_demo.py

Copy file name to clipboardExpand all lines: examples/collections_demo.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
a = fig.add_subplot(2,2,3)
8888

8989
col = collections.RegularPolyCollection(fig.dpi, 7,
90-
sizes = N.fabs(xx) / 10.0, offsets=xyo,
90+
sizes = N.fabs(xx)*10.0, offsets=xyo,
9191
transOffset=a.transData)
9292
trans = transforms.Affine2D().scale(fig.dpi/72.0)
9393
col.set_transform(trans) # the points to pixels transform

‎examples/simple_plot_fps.py

Copy file name to clipboardExpand all lines: examples/simple_plot_fps.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
#savefig('simple_plot')
2222

2323
import time
24-
24+
from matplotlib import transforms
25+
2526
frames = 100.0
2627
t = time.clock()
2728
ion()
2829
for i in xrange(int(frames)):
30+
transforms.CATCH = True
2931
part = i / frames
3032
axis([0.0, 1.0 - part, -1.0 + part, 1.0 - part])
3133
show()

‎lib/matplotlib/axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ def update_datalim(self, xys):
11101110
# and the data in xydata
11111111
# MGDTODO: This isn't always the most efficient way to do this... in
11121112
# some cases things should use update_datalim_bounds
1113-
11141113
if not ma.isMaskedArray(xys):
11151114
xys = npy.asarray(xys)
11161115
self.update_datalim_numerix(xys[:, 0], xys[:, 1])

0 commit comments

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