Skip to content

Commit 72421e5

Browse files
committed
fixed makefile and some text bugs
svn path=/trunk/matplotlib/; revision=282
1 parent 5bf7bc3 commit 72421e5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# Copyright (C) 2003 <jdhunter@ace.bsd.uchicago.edu>
33
# $Header$
44
# $Log$
5+
# Revision 1.31 2004/05/04 20:39:16 jdh2358
6+
# fixed makefile and some text bugs
7+
#
58
# Revision 1.30 2004/04/26 19:41:47 barrett
69
# Added a line to the htmldocs section to create the license.html.template file with the appropriate version number.
710
#
@@ -119,7 +122,6 @@ pyback:
119122
tar cvfz pyback.tar.gz *.py matplotlib/*.py examples/*.py matplotlib/backends/*.py unit/*.py
120123

121124
htmldocs:
122-
123125
cp examples/*.py htdocs/examples;\
124126
cp .matplotlibrc NUMARRAY_ISSUES API_CHANGES htdocs/;\
125127
${PYTHON} license.py ${VERSION} htdocs/license.html.template;\
@@ -128,4 +130,5 @@ htmldocs:
128130
${PYTHON} convert.py;\
129131
tar cfz site.tar.gz *.html screenshots tut examples gd .matplotlibrc NUMARRAY_ISSUES API_CHANGES;\
130132
cd ..;\
131-
cp -a matplotlib htdocs/;
133+
cp -a matplotlib htdocs
134+

examples/simple_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
ylabel('voltage (mV)')
1111
title('About as simple as it gets, folks')
1212
grid(True)
13-
#savefig('simple_plot')
13+
savefig('simple_plot')
1414
show()

src/_backend_agg.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ RendererAgg::draw_text(const Py::Tuple& args) {
367367
pixfmt::color_type p;
368368
p.r = int(255*r); p.b = int(255*b); p.g = int(255*g); p.a = int(255*a);
369369

370+
y = y-font->image.height;
370371
for (size_t i=0; i<font->image.width; ++i) {
371372
for (size_t j=0; j<font->image.height; ++j) {
372373
if (i+x>=width) continue;

0 commit comments

Comments
 (0)