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

Skip to content

Commit 18b94ea

Browse files
committed
removed py2.6 incompat
svn path=/trunk/matplotlib/; revision=6355
1 parent 6970826 commit 18b94ea

4 files changed

Lines changed: 61 additions & 57 deletions

File tree

doc/_templates/gallery.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ <h3>Click on any image to see full size image and source code</h3>
6363

6464
<a href="examples/pylab_examples/alignment_test.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/alignment_test.png" border="0" alt="alignment_test"/></a>
6565

66+
<a href="examples/pylab_examples/annotation_demo2.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/annotation_demo2_00.png" border="0" alt="annotation_demo2"/></a>
67+
68+
<a href="examples/pylab_examples/annotation_demo2.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/annotation_demo2_01.png" border="0" alt="annotation_demo2"/></a>
69+
6670
<a href="examples/pylab_examples/annotation_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/annotation_demo_00.png" border="0" alt="annotation_demo"/></a>
6771

6872
<a href="examples/pylab_examples/annotation_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/annotation_demo_01.png" border="0" alt="annotation_demo"/></a>

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h3>Download</h3>
1111
and mapping toolkit
1212
<a href="http://matplotlib.sf.net/basemap/doc/html">basemap</a>.</p>
1313

14-
<p>Please <a href="https://sourceforge.net/my/donations.php">donate</a>
14+
<p>Please <a href="http://sourceforge.net/project/project_donations.php?group_id=80706">donate</a>
1515
to support matplotlib development.</p>
1616

1717
<h3>Need help?</h3>

examples/pylab_examples/annotation_demo2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373

7474

75-
fig.savefig('annotation_connection')
75+
#fig.savefig('annotation_connection')
7676

7777

7878
if 1:
@@ -82,7 +82,7 @@
8282

8383
el = Ellipse((2, -1), 0.5, 0.5)
8484
ax.add_patch(el)
85-
85+
8686
ax.annotate('$->$', xy=(2., -1), xycoords='data',
8787
xytext=(-150, -140), textcoords='offset points',
8888
bbox=dict(boxstyle="round", fc="0.8"),
@@ -146,6 +146,6 @@
146146
)
147147
)
148148

149-
fig.savefig('annotation_arrowstyle')
149+
#fig.savefig('annotation_arrowstyle')
150150

151151
show()

0 commit comments

Comments
 (0)