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

Skip to content

Commit 1ed561d

Browse files
committed
preparing for 0.84
svn path=/trunk/matplotlib/; revision=1762
1 parent b0905ac commit 1ed561d

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
from __future__ import generators
144144

145145

146-
__version__ = '0.84.cvs.3'
146+
__version__ = '0.84'
147147
__revision__ = '$Revision$'
148148
__date__ = '$Date$'
149149

lib/matplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,8 +1710,8 @@ def hist(self, x, bins=10, normed=0, bottom=0,
17101710
17111711
The return values is (n, bins, patches)
17121712
1713-
If normed is true, the first element of the return tuple will be the
1714-
counts normalized to form a probability distribtion, ie,
1713+
If normed is true, the first element of the return tuple will
1714+
be the counts normalized to form a probability density, ie,
17151715
n/(len(x)*dbin)
17161716
17171717

lib/matplotlib/text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def _get_layout(self, renderer):
180180
tmp, heightt = renderer.get_text_width_height(
181181
'T', self._fontproperties, ismath=False)
182182

183+
heightt += 3 # 3 pixel pad
183184
for line in lines:
184185
w,h = renderer.get_text_width_height(
185186
line, self._fontproperties, ismath=self.is_math_text())

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
BUILD_WINDOWING = 'auto'
4343

4444

45-
VERBOSE = False # insert lots of diagnostic prints in extension code
45+
VERBOSE = True # insert lots of diagnostic prints in extension code
4646

4747

4848

src/ft2font.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Glyph::get_path( const FT_Face& face) {
312312

313313
FT2Font::FT2Font(std::string facefile)
314314
{
315-
_VERBOSE("FT2Font::FT2Font");
315+
_VERBOSE(Printf("FT2Font::FT2Font %s", facefile.c_str()).str());
316316
clear(Py::Tuple(0));
317317

318318

@@ -397,6 +397,8 @@ FT2Font::FT2Font(std::string facefile)
397397
setattr("underline_position", Py::Int(face->underline_position));
398398
setattr("underline_thickness", Py::Int(face->underline_thickness));
399399
}
400+
401+
_VERBOSE("FT2Font::FT2Font done");
400402
}
401403

402404
FT2Font::~FT2Font()
@@ -752,7 +754,7 @@ FT2Font::set_text(const Py::Tuple & args) {
752754
for (unsigned int n=0; n<glyphs.size(); n++)
753755
FT_Glyph_Transform(glyphs[n], &matrix, 0);
754756

755-
757+
_VERBOSE("FT2Font::set_text done");
756758
return xys;
757759
}
758760

0 commit comments

Comments
 (0)