Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Merge v0.91.x into v0.98.x#6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
136 commits merged intomatplotlib:v0.98.xfromjkseppan:v0.98.x
Feb 20, 2011
Merged
Changes from1 commit
Commits
Show all changes
136 commits
Select commitHold shift + click to select a range
f35a719
A test commit
mdboomJan 8, 2008
b2ac84d
Undoing last commit. Testing was successful.
mdboomJan 8, 2008
5483c27
Fix offset labels (so the times symbol is displayed correctly)
mdboomJan 10, 2008
79d3369
Merge Darren's win32 build changes to the maintenance branch (since
mdboomJan 10, 2008
5a0a302
Fix display of '[' and ']' in mathtext.
mdboomJan 10, 2008
253a406
Update changelog.
mdboomJan 10, 2008
9ce195e
Fix SVG glyphs for use with Qt (which doesn't look forward for the
mdboomJan 14, 2008
331e452
forced nonunicode fname for save in agg
jdh2358Jan 17, 2008
8c58533
Fix poly_editor.py
mdboomJan 18, 2008
966e631
Fix bug with pie chart slices less than 2.5 degrees.
mdboomJan 21, 2008
43b3876
Apply patch by Manuel Metz to scatter docstring.
efiringJan 26, 2008
d46da1c
Fixed a bug where plotting a singe point unitized errorbar data would
Jan 28, 2008
50babfa
Allow updating of shared axes when calling Axes.axis() (Thanks Jorgen…
mdboomJan 29, 2008
29466fb
Fix \sqrt with a numeric radical.
mdboomJan 31, 2008
70d9999
Fix text spacing problems in PDF backend with some fonts.
mdboomJan 31, 2008
bc88e8c
fixed a bug in ticker, unicode string passed to tex
ddaleJan 31, 2008
e4a937c
forgot to change unicode string to raw string
ddaleJan 31, 2008
455ef08
Fix reference leak on Glyph objects.
mdboomFeb 1, 2008
92ed201
Change "delete" to "delete []" for arrays on the heap. (It's
mdboomFeb 1, 2008
be0c7e5
Backing out Glyph object leak fix, since it causes segfaults with PDF
mdboomFeb 1, 2008
dd16528
Oops in last commit.
mdboomFeb 1, 2008
f0aa448
Hopefully fixing the Glyph memory leak properly now.
mdboomFeb 1, 2008
bfc1952
Fix doubly-included fonts in Postscript files.
mdboomFeb 1, 2008
8c974c7
Updating changelog
mdboomFeb 6, 2008
6d51df5
Removed a reference to nx, replaced with numpy.
Feb 8, 2008
1e6c775
Update plotting() doc string to refer to getp/setp.
jkseppanFeb 11, 2008
2cca74a
added rec_groupby and rec2txt
jdh2358Feb 19, 2008
14cc2a4
[ 1901410 ] Newbie bug report: clip_on set to False actually True
mdboomFeb 25, 2008
d0c4100
Fix classic Wx toolbar pan and zoom functions (Thanks Jeff Peery)
mdboomFeb 29, 2008
eda659a
Fix bug where Wx figures were getting shortened by the height of the …
mdboomMar 10, 2008
5c7a23b
Correcting range of subfigure values. This is a backport of 4913 from
mdboomMar 10, 2008
28f5328
Bugfix: [ 1912719 ] TypeError in Exception __get_configdir()
mdboomMar 21, 2008
9febe2a
Bugfix in ContourSet._process_linestyles
mmetz-bnMar 21, 2008
c6d43f0
Fix a pdf backend bug which sometimes caused the outermost
jkseppanMar 23, 2008
0a5f908
Change character ids so they are a hash on the path data itself. (To
mdboomMar 26, 2008
ca55945
Change character ids so they are a hash on the path data itself. (To
mdboomMar 26, 2008
4d0a552
Oops in last commit.
mdboomMar 26, 2008
7270563
Fix saving to Unicode filenames in Agg backend. Fix Qt and Qt4 GUI's
mdboomMar 27, 2008
50bf758
some small fixes to excel tools
jdh2358Apr 3, 2008
82fce66
Fixed the double draw bug.
Apr 7, 2008
d6bfcd8
small fix for vlines w/ len 1 args
jdh2358Apr 9, 2008
a1e29fe
Fixing global font rcParam setting after initialization time (thanks
mdboomApr 11, 2008
91f3c4f
dont remove repaint/update from draw(), or updates to the figure after
ddaleApr 18, 2008
02bd7f9
improve conversion from str to char*, avoid deprecation warnings during
ddaleApr 19, 2008
000c731
Fix inconsistency between svg.embed_chars and svg.embed_char_paths
mdboomApr 22, 2008
4b7298d
Fix inconsistency between svg.embed_chars and svg.embed_char_paths
mdboomApr 22, 2008
472ed1e
Fix sub/superscript placement when the size of font has been changed.
mdboomApr 24, 2008
70b5687
Fix SVG text rendering bug affecting Mozilla-based viewers.
mdboomApr 28, 2008
df366c7
Fix bug where fraction beams were too wide at lower dpi's. Fix
mdboomApr 28, 2008
efa87f1
Oops in last commit -- left in debugging info.
mdboomApr 28, 2008
d3b021d
fixed bug in mlab.sqrtm; numpy.linalg.eig behaves different than Nume…
mmetz-bnApr 29, 2008
d287cb4
Include stdio.h for gcc 4.3
mdboomMay 1, 2008
d37b4d9
Update _subprocess.c from upstream Python 2.5.2 to get a few memory
mdboomMay 2, 2008
03d4ae9
Don't call sys.exit() when pyemf is not found.
mdboomMay 2, 2008
389636a
Fix build error with PyQt <= 3.14 [1851364] - MGD
mdboomMay 2, 2008
c7b2759
use pngs for wx icons
jdh2358May 6, 2008
de48109
Fix blitting in Qt backends (which need ARGB, not RGBA)
mdboomMay 6, 2008
56f9427
Forgot CHANGELOG
mdboomMay 6, 2008
82da311
Fixing bugs in recent changes to Qt blitting.
mdboomMay 6, 2008
5ee9bd2
[ 1922569 ] gcc 4.3 C++ compilation errors (Thanks, Jef Spaleta)
mdboomMay 7, 2008
7089321
Fix kerning in SVG.
mdboomMay 8, 2008
1f24714
Fix /singlequote (') in Ps backend.
mdboomMay 9, 2008
6354bfc
Fix font embedding on Windows.
mdboomMay 14, 2008
c84d50c
made backend agg open png in binary mode
jdh2358May 17, 2008
32ca40b
added a doc string to the branch -- just experimenting with svn merge…
jdh2358May 17, 2008
5985b7b
updated the coding guide to encourage svnmerge
jdh2358May 17, 2008
a47b18b
a few more doc string fixes in cboo
jdh2358May 17, 2008
7c1670b
fixed some typos in the CODING_GUIDE
jdh2358May 17, 2008
f608f7c
fixed missing get_filterrad
jdh2358May 19, 2008
a60b45f
Use is_string_like instead of explicitly string or unicode.
mdboomMay 19, 2008
7062d35
[ 1966974 ] win32FontDirectory() can fail with access denied (Thanks,
mdboomMay 19, 2008
6a9ac5d
remove pesky date auto xlabel
jdh2358May 20, 2008
bf0fc71
Fixed bug in plotfile
mmetz-bnMay 21, 2008
e1f934c
Backport TkAgg segfault fix.
mdboomMay 21, 2008
8aeb01b
applied stans wx figsize patch
jdh2358May 22, 2008
60f07d8
fixed a wx bug
jdh2358May 22, 2008
d9e2ced
Getting mlab.py in sync with the trunk
sameerdMay 23, 2008
2881611
added pil support to imread
jdh2358May 25, 2008
579f9cd
fixed a npy np mixup in image
jdh2358May 25, 2008
99f3a36
added a line vertex selector widget
jdh2358May 26, 2008
376b438
added a line vertex selector widget
jdh2358May 26, 2008
d5579d9
fixed an empty vertex list bug
jdh2358May 26, 2008
84eb65b
Fix rendering of composite glyphs in Type 3 conversion (particularly
mdboomMay 28, 2008
9c5d7a8
added keywords to configure sliders for sf patch 1866207
jdh2358May 28, 2008
1cba068
Fix PDFs that crash xpdf and ghostscript when two-byte codepoints are
mdboomMay 28, 2008
86ca40d
Adding CHANGELOG entry and scary comment about what was going wrong.
mdboomMay 28, 2008
e83ae91
Implement path clipping in SVG backend.
mdboomMay 29, 2008
3f66e1c
fixed two bugs in texmanager: dvipng version comparison, and
ddaleMay 29, 2008
a5a8502
added clippath support for ps
jdh2358May 29, 2008
b88868e
added clippath support for ps
jdh2358May 29, 2008
1e10bbe
imread via pil now returns lumininance or rgb if possible
jdh2358May 29, 2008
790c7da
tagging new version
cmoadMay 29, 2008
562ec2c
minor rev bump
cmoadMay 30, 2008
44df377
added support for None for dvipng and removed the sqrt in the hack wh…
jdh2358May 30, 2008
99c8dc0
removed debug print statement
jdh2358May 30, 2008
06031ee
Fix crash in Agg drawing collections with no fill and/or edge color.
mdboomJun 2, 2008
c399a94
added switch_backend bugfix from sf patch 1979402
jdh2358Jun 2, 2008
2a311a4
Docstring changes
sameerdJun 4, 2008
b586ec5
try to handle xaxis_date more gracefully when no data has been added
jdh2358Jun 4, 2008
b0921b9
fixed some bugs introduced in the xaxis_date fix
jdh2358Jun 4, 2008
42251b9
fixed classic toolbar bugs
jdh2358Jun 5, 2008
e9c0464
don't install traits
ddaleJun 9, 2008
b9092cb
forgot CHANGELOG message
ddaleJun 9, 2008
3323909
Support hold in quiver, contour, contourf
efiringJun 12, 2008
8c02ec2
Fix STIX fonts on narrow Unicode platforms.
mdboomJun 17, 2008
495c8d3
Make set_default_size set the variable actually being used elsewhere
efiringJun 20, 2008
8aea540
Don't try to render a line collection with no segments
efiringJun 20, 2008
28a0a21
improve mlab.load docstring to address bug 1901536
ddaleJun 21, 2008
db6b57d
changed wx backend to respect extension over gui dialog default type
jdh2358Jun 22, 2008
a17668f
bumped the version num
jdh2358Jun 22, 2008
1ee56a8
minor rev bump
cmoadJun 23, 2008
5fa34fc
Fix direction of horizontal and vertical hatching.
mdboomJun 26, 2008
491693c
Oops in last commit
mdboomJun 26, 2008
4af4116
Fix mathtext parsing bug.
mdboomJun 27, 2008
bf8769a
removed Qt4's NavigationToolbar2.destroy method
ddaleJun 30, 2008
84efa33
Fix bug using autolegend with LineCollection.
mdboomJul 2, 2008
3536249
Improve mathtext superscript placement.
mdboomJul 8, 2008
caf170e
Improve mathtext radical rendering
mdboomJul 9, 2008
bf8b763
Handle markeredgecolor=None etc. consistently
efiringJul 12, 2008
c5c511e
improve error reporting in texmanager
ddaleJul 17, 2008
25c2c95
added Tuukka's YAArrow fix for horiz and vertical lines
jdh2358Jul 18, 2008
49e8253
removed mlab2 functions
jdh2358Jul 24, 2008
f95a59a
deprecated mlab2 functions from mlab
jdh2358Jul 24, 2008
5263e01
deprecated mlab2 functions from mlab
jdh2358Jul 24, 2008
e9e31dc
updated api changes and changelog to reflect mlab2 deprecation
jdh2358Jul 24, 2008
4a5a4bb
bumped version num
jdh2358Jul 24, 2008
752f9da
Fixing edge cases in rec_join in branch
sameerdJul 24, 2008
7d5461d
Backport memory leak fixes in _ttconv.cpp
mdboomAug 1, 2008
a57332c
Fix locale problems in SVG backend (thanks, Mathieu Leplatre for repo…
mdboomAug 25, 2008
b474cd6
Changed full arrows slightly to avoid an xpdf rendering
jkseppanSep 7, 2008
15a4174
Fix backticks in PS output.
mdboomSep 11, 2008
72c10b4
Fix problem with AFM files that don't specify the font's full name or…
jkseppanOct 5, 2008
2f6ee5e
Fix bug in zoom rectangle with twin axes
mdboomNov 5, 2008
c22ad48
fixed poly between
jdh2358Nov 21, 2008
75f8bfa
fixed poly below
jdh2358Nov 21, 2008
0563108
Merge remote branch 'origin/v0.91.x' into v0.98.x
jkseppanFeb 20, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix bug where fraction beams were too wide at lower dpi's. Fix
sub/superscript placement at different dpi's.svn path=/branches/v0_91_maint/; revision=5089
  • Loading branch information
@mdboom
mdboom committedApr 28, 2008
commitdf366c7ad2bc97809100c0a74b8b15d64d68f785
4 changes: 2 additions & 2 deletionslib/matplotlib/mathtext.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -651,12 +651,12 @@ def get_xheight(self, font, fontsize, dpi):
# Some fonts don't store the xHeight, so we do a poor man's xHeight
metrics = self.get_metrics(font, 'it', 'x', fontsize, dpi)
return metrics.iceberg
xHeight = (pclt['xHeight'] / 64.0) * (fontsize / 12.0)
xHeight = (pclt['xHeight'] / 64.0) * (fontsize / 12.0) * (dpi / 100.0)
return xHeight

def get_underline_thickness(self, font, fontsize, dpi):
cached_font = self._get_font(font)
returnmax(1.0,cached_font.font.underline_thickness / 64.0 / fontsize *10.0)
return cached_font.font.underline_thickness / 64.0 / fontsize *(10.0 * dpi / 100.0)

def get_kern(self, font1, fontclass1, sym1, fontsize1,
font2, fontclass2, sym2, fontsize2, dpi):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp