|
From: <md...@us...> - 2008-06-17 16:11:48
|
Revision: 5580
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5580&view=rev
Author: mdboom
Date: 2008-06-17 09:10:17 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
Fixing baseline alignment -- the align="absmiddle" hack is removed.
Modified Paths:
--------------
trunk/matplotlib/doc/sphinxext/mathpng.py
Modified: trunk/matplotlib/doc/sphinxext/mathpng.py
===================================================================
--- trunk/matplotlib/doc/sphinxext/mathpng.py 2008-06-17 16:08:18 UTC (rev 5579)
+++ trunk/matplotlib/doc/sphinxext/mathpng.py 2008-06-17 16:10:17 UTC (rev 5580)
@@ -142,10 +142,6 @@
if os.path.exists(path): break
path = '../'+path
path = '../'+path #specifically added for matplotlib
- if inline and '_' in latex:
- align = 'align="absmiddle" '
- else:
- align = ''
if inline:
cls = ''
else:
@@ -155,5 +151,5 @@
else:
style = ''
- return '<img src="%s/%s.png" %s%s%s/>' % (path, name, align, cls, style)
+ return '<img src="%s/%s.png" %s%s/>' % (path, name, cls, style)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|