Revision: 4502
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4502&view=rev
Author: jdh2358
Date: 2007-11-29 08:28:07 -0800 (Thu, 29 Nov 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/htdocs/credits.html.template
trunk/htdocs/hthelpers.py
trunk/htdocs/screenshots/align_text_large.png
trunk/htdocs/screenshots/align_text_small.png
trunk/htdocs/screenshots/axes_demo_large.png
trunk/htdocs/screenshots/axes_demo_small.png
trunk/htdocs/screenshots/barchart_demo_large.png
trunk/htdocs/screenshots/barchart_demo_small.png
trunk/htdocs/screenshots/date_demo_large.png
trunk/htdocs/screenshots/date_demo_small.png
trunk/htdocs/screenshots/fill_demo_large.png
trunk/htdocs/screenshots/fill_demo_small.png
trunk/htdocs/screenshots/finance_work2_large.png
trunk/htdocs/screenshots/finance_work2_small.png
trunk/htdocs/screenshots/histogram_demo.py
trunk/htdocs/screenshots/layer_images_large.png
trunk/htdocs/screenshots/layer_images_small.png
trunk/htdocs/screenshots/legend_demo_large.png
trunk/htdocs/screenshots/legend_demo_small.png
trunk/htdocs/screenshots/log_shot_large.png
trunk/htdocs/screenshots/log_shot_small.png
trunk/htdocs/screenshots/makeshots.py
trunk/htdocs/screenshots/mathtext_demo_large.png
trunk/htdocs/screenshots/mathtext_demo_small.png
trunk/htdocs/screenshots/mri_with_eeg.py
trunk/htdocs/screenshots/pcolor_demo_large.png
trunk/htdocs/screenshots/pcolor_demo_small.png
trunk/htdocs/screenshots/pie_demo_large.png
trunk/htdocs/screenshots/pie_demo_small.png
trunk/htdocs/screenshots/polar_demo_large.png
trunk/htdocs/screenshots/polar_demo_small.png
trunk/htdocs/screenshots/scatter_demo2_large.png
trunk/htdocs/screenshots/scatter_demo2_small.png
trunk/htdocs/screenshots/simple_plot_large.png
trunk/htdocs/screenshots/simple_plot_small.png
trunk/htdocs/screenshots/slider_demo_large.png
trunk/htdocs/screenshots/slider_demo_small.png
trunk/htdocs/screenshots/text_themes_large.png
trunk/htdocs/screenshots/text_themes_small.png
trunk/htdocs/screenshots.html.template
trunk/htdocs/whats_new.html.template
Added Paths:
-----------
trunk/htdocs/screenshots/mathtext_examples.py
Modified: trunk/htdocs/credits.html.template
===================================================================
--- trunk/htdocs/credits.html.template 2007-11-29 15:40:42 UTC (rev 4501)
+++ trunk/htdocs/credits.html.template 2007-11-29 16:28:07 UTC (rev 4502)
@@ -60,7 +60,8 @@
log plots, added improved support for scalar formatting, and did a
lot of work to clean up the <a
href=http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html?action=/tex-archive/macros/latex/contrib/supported/psfrag/>psfrag</a>
- LaTeX output. </li>
+ LaTeX output. He wrote the site.cfg and matplotlib.conf
+ configuration support</li>
<li>Paul Mcguire provided the pyparsing module on which mathtext
relies, and made a number of optimizations to the matplotlib
@@ -109,6 +110,18 @@
href=http://ipython.scipy.org>ipython</a>/pylab.</li>
+ <li>Charlie Moad contributed work to matplotlib's Cocoa support and
+ does the binary builds and releases</li>
+
+ <li>Jouni K. Seppaenen wrote the PDF backend</li>
+
+ <li>Michael Droettboom wrote the enhanced mathtext support,
+implementing Knuth's box layout algorithms, and is responsible for
+numerous bug-fixes, better font support, and feature enhancements
+across the matplotlib backends</li>
+
+
+
</ul>
Modified: trunk/htdocs/hthelpers.py
===================================================================
--- trunk/htdocs/hthelpers.py 2007-11-29 15:40:42 UTC (rev 4501)
+++ trunk/htdocs/hthelpers.py 2007-11-29 16:28:07 UTC (rev 4502)
@@ -7,14 +7,14 @@
'matplotlib.backends.backend_agg',
'matplotlib.backends.backend_cairo',
'matplotlib.backends.backend_fltkagg',
- 'matplotlib.backends.backend_gtkcairo',
+ 'matplotlib.backends.backend_gtkcairo',
'matplotlib.backends.backend_gd',
'matplotlib.backends.backend_gtk',
'matplotlib.backends.backend_gtkagg',
'matplotlib.backends.backend_paint',
'matplotlib.backends.backend_ps',
- 'matplotlib.backends.backend_svg',
- 'matplotlib.backends.backend_emf',
+ 'matplotlib.backends.backend_svg',
+ 'matplotlib.backends.backend_emf',
'matplotlib.backends.backend_template',
'matplotlib.backends.backend_tkagg',
'matplotlib.backends.backend_qt',
@@ -22,13 +22,17 @@
'matplotlib.backends.backend_wx',
'matplotlib.backends.backend_wxagg',
'matplotlib.cbook',
- 'matplotlib.cm',
+ 'matplotlib.cm',
'matplotlib.collections',
+ 'matplotlib.colorbar',
'matplotlib.colors',
+ 'matplotlib.contour',
'matplotlib.dates',
+ 'matplotlib.dviread',
'matplotlib.figure',
'matplotlib.finance',
'matplotlib.font_manager',
+ 'matplotlib.fontconfig_pattern',
'matplotlib.ft2font',
'matplotlib.image',
'matplotlib.legend',
@@ -37,14 +41,18 @@
'matplotlib.mlab',
'matplotlib.numerix',
'matplotlib.patches',
- 'matplotlib.pylab',
+ 'matplotlib.pylab',
+ 'matplotlib.pyplot',
+ 'matplotlib.quiver',
+ 'matplotlib.rcsetup',
'matplotlib.table',
- 'matplotlib.texmanager',
+ 'matplotlib.texmanager',
'matplotlib.text',
'matplotlib.ticker',
'matplotlib.toolkits.basemap.basemap',
'matplotlib.transforms',
- 'matplotlib.units',
+ 'matplotlib.type1font',
+ 'matplotlib.units',
'matplotlib.widgets',
)
@@ -72,5 +80,5 @@
func, desc = tup
func = func.strip()
desc = desc.strip()
- these.append((func, desc))
+ these.append((func, desc))
return plot_commands
Modified: trunk/htdocs/screenshots/align_text_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/align_text_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/axes_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/axes_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/barchart_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/barchart_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/date_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/date_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/fill_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/fill_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/finance_work2_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/finance_work2_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/histogram_demo.py
===================================================================
--- trunk/htdocs/screenshots/histogram_demo.py 2007-11-29 15:40:42 UTC (rev
4501)
+++ trunk/htdocs/screenshots/histogram_demo.py 2007-11-29 16:28:07 UTC (rev
4502)
@@ -1,5 +1,4 @@
from matplotlib import rcParams
-rcParams['text.fontname'] = 'cmr10'
from pylab import *
Modified: trunk/htdocs/screenshots/layer_images_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/layer_images_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/legend_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/legend_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/log_shot_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/log_shot_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/makeshots.py
===================================================================
--- trunk/htdocs/screenshots/makeshots.py 2007-11-29 15:40:42 UTC (rev
4501)
+++ trunk/htdocs/screenshots/makeshots.py 2007-11-29 16:28:07 UTC (rev
4502)
@@ -7,29 +7,30 @@
default = 'Agg'
# do not remove the pngs - some are screenshots!
files = {
- 'wheeler_demo.py' : default,
- 'layer_images.py' : default,
- 'finance_work2.py' : default,
- 'simple_plot.py' : default,
- 'axes_demo.py' : default,
- 'histogram_demo.py' : default,
+ 'wheeler_demo.py' : default,
+ 'layer_images.py' : default,
+ 'finance_work2.py' : default,
+ 'simple_plot.py' : default,
+ 'axes_demo.py' : default,
+ 'histogram_demo.py' : default,
'mri_with_eeg.py' : default,
'fill_demo.py' : default,
- 'date_demo.py' : default,
+ 'date_demo.py' : default,
'barchart_demo.py' : default,
'table_demo.py' : default,
- 'tex_demo.py' : default,
+ 'tex_demo.py' : default,
'legend_demo.py' : default,
- 'slider_demo.py' : default,
- 'mathtext_demo.py' : default,
- 'pcolor_demo.py' : default,
- 'text_themes.py' : default,
+ 'slider_demo.py' : default,
+ 'mathtext_demo.py' : default,
+ 'mathtext_examples.py' : default,
+ 'pcolor_demo.py' : default,
+ 'text_themes.py' : default,
'log_shot.py' : default,
- 'align_text.py' : default,
- 'scatter_demo2.py' : default,
+ 'align_text.py' : default,
+ 'scatter_demo2.py' : default,
'polar_demo.py' : default,
'pie_demo.py' : default,
- 'plotmap.py' : default,
+ 'plotmap.py' : default,
'hstdemo.py' : default,
}
@@ -43,7 +44,7 @@
'matplotlib.use("%s")\n' % backend,
'from pylab import *\n'
]
-
+
print '\tdriving %s' % fname
for line in file(fname):
if line.strip().startswith('from __future__ import division'): continue
@@ -59,7 +60,7 @@
file(tmpfile, 'w').write(''.join(lines))
os.system('python %s' % tmpfile)
#os.remove(tmpfile)
-
+
for fname, backend in files.items():
make_shot(fname, backend)
Modified: trunk/htdocs/screenshots/mathtext_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/mathtext_demo_small.png
===================================================================
(Binary files differ)
Added: trunk/htdocs/screenshots/mathtext_examples.py
===================================================================
--- trunk/htdocs/screenshots/mathtext_examples.py
(rev 0)
+++ trunk/htdocs/screenshots/mathtext_examples.py 2007-11-29 16:28:07 UTC
(rev 4502)
@@ -0,0 +1,89 @@
+#!/usr/bin/env python
+
+import os, sys, re
+
+import gc
+
+stests = [
+ r'Kerning: AVA $AVA$',
+ r'\$100.00 $\alpha \_$',
+ r'$\frac{\$100.00}{y}$',
+ r'$x y$',
+ r'$x+y\ x=y\ x<y\ x:y\ x,y\ [EMAIL PROTECTED]',
+ r'$100\%y\ x*y\ x/y x\$y$',
+ r'$x\leftarrow y\ x\forall y\ x-y$',
+ r'$x \sf x \bf x {\cal X} \rm x$',
+ r'$x\ x\,x\;x\quad x\qquad x\!x\hspace{ 0.5 }y$',
+ r'$\{ \rm braces \}$',
+ r'$\left[\left\lfloor\frac{5}{\frac{\left(3\right)}{4}} y\right)\right]$',
+ r'$\left(x\right)$',
+ r'$\sin(x)$',
+ r'$x_2$',
+ r'$x^2$',
+ r'$x^2_y$',
+ r'$x_y^2$',
+ r'$\prod_{i=\alpha_{i+1}}^\infty$',
+ r'$x = \frac{x+\frac{5}{2}}{\frac{y+3}{8}}$',
+ r'$dz/dt = \gamma x^2 + {\rm sin}(2\pi y+\phi)$',
+ r'Foo: $\alpha_{i+1}^j = {\rm sin}(2\pi f_j t_i) e^{-5 t_i/\tau}$',
+ r'$\mathcal{R}\prod_{i=\alpha_{i+1}}^\infty a_i \sin(2 \pi f x_i)$',
+# r'$\bigodot \bigoplus {\sf R} a_i{\rm sin}(2 \pi f x_i)$',
+ r'Variable $i$ is good',
+ r'$\Delta_i^j$',
+ r'$\Delta^j_{i+1}$',
+ r'$\ddot{o}\acute{e}\grave{e}\hat{O}\breve{\imath}\tilde{n}\vec{q}$',
+ r'$_i$',
+ r"$\arccos((x^i))$",
+ r"$\gamma = \frac{x=\frac{6}{8}}{y} \delta$",
+ r'$\limsup_{x\to\infty}$',
+ r'$\oint^\infty_0$',
+ r"$f^'$",
+ r'$\frac{x_2888}{y}$',
+ r"$\sqrt[3]{\frac{X_2}{Y}}=5$",
+ r"$\sqrt[5x\pi]{\prod^\frac{x}{2\pi^2}_\infty}$",
+ r"$\sqrt[3]{x}=5$",
+ r'$\frac{X}{\frac{X}{Y}}$',
+ # From UTR #25
+ r"$W^{3\beta}_{\delta_1 \rho_1 \sigma_2} = U^{3\beta}_{\delta_1 \rho_1} +
\frac{1}{8 \pi 2} \int^{\alpha_2}_{\alpha_2} d \alpha^\prime_2 \left[\frac{
U^{2\beta}_{\delta_1 \rho_1} - \alpha^\prime_2U^{1\beta}_{\rho_1 \sigma_2}
}{U^{0\beta}_{\rho_1 \sigma_2}}\right]$",
+ r'$\mathcal{H} = \int d \tau \left(\epsilon E^2 + \mu H^2\right)$',
+ r'$\widehat{abc}\widetilde{def}$',
+ r'$\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega$',
+ r'$\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \lambda \mu
\nu \xi \pi \kappa \rho \sigma \tau \upsilon \phi \chi \psi$',
+ #ur'Generic symbol: $\u23ce \mathrm{\ue0f2 \U0001D538}$'
+ ]
+
+from pylab import *
+
+def doall():
+ tests = stests
+
+ figure(figsize=(8, (len(tests) * 1) + 2))
+ plot([0, 0], 'r')
+ grid(False)
+ axis([0, 3, -len(tests), 0])
+ yticks(arange(len(tests)) * -1)
+ for i, s in enumerate(tests):
+ print (i, s)
+ text(0.1, -i, s, fontsize=20)
+
+ savefig('mathtext_examples')
+ #close('all')
+ show()
+
+if '--latex' in sys.argv:
+ fd = open("mathtext_examples.ltx", "w")
+ fd.write("\\documentclass{article}\n")
+ fd.write("\\begin{document}\n")
+ fd.write("\\begin{enumerate}\n")
+
+ for i, s in enumerate(stests):
+ s = re.sub(r"(?<!\\)\$", "$$", s)
+ fd.write("\\item %s\n" % s)
+
+ fd.write("\\end{enumerate}\n")
+ fd.write("\\end{document}\n")
+ fd.close()
+
+ os.system("pdflatex mathtext_examples.ltx")
+else:
+ doall()
Property changes on: trunk/htdocs/screenshots/mathtext_examples.py
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/htdocs/screenshots/mri_with_eeg.py
===================================================================
--- trunk/htdocs/screenshots/mri_with_eeg.py 2007-11-29 15:40:42 UTC (rev
4501)
+++ trunk/htdocs/screenshots/mri_with_eeg.py 2007-11-29 16:28:07 UTC (rev
4502)
@@ -4,6 +4,8 @@
faster*
"""
from __future__ import division
+import numpy
+
from pylab import *
from matplotlib.lines import Line2D
from matplotlib.transforms import get_bbox_transform, Point, Value, Bbox,\
@@ -14,7 +16,7 @@
if 1: # load the data
# data are 256x256 16 bit integers
dfile = 'data/s1045.ima'
- im = fromstring(file(dfile, 'rb').read(), UInt16).astype(Float)
+ im = fromstring(file(dfile, 'rb').read(), numpy.uint16).astype(numpy.float)
im.shape = 256, 256
if 1: # plot the MRI in pcolor
@@ -62,17 +64,17 @@
for i in range(numRows):
# effectively a copy of transData
- trans = get_bbox_transform(boxin, boxout)
+ trans = get_bbox_transform(boxin, boxout)
offset = (i+1)/(numRows+1)
trans.set_offset( (0, offset), transOffset)
-
+
thisLine = Line2D(
t, data[:,i]-data[0,i],
)
-
+
thisLine.set_transform(trans)
-
+
ax.add_line(thisLine)
ticklocs.append(offset)
@@ -85,10 +87,10 @@
ax.set_yticks(ticklocs)
for tick in ax.yaxis.get_major_ticks():
tick.label1.set_transform(ax.transAxes)
- tick.label2.set_transform(ax.transAxes)
+ tick.label2.set_transform(ax.transAxes)
tick.tick1line.set_transform(ax.transAxes)
- tick.tick2line.set_transform(ax.transAxes)
- tick.gridline.set_transform(ax.transAxes)
+ tick.tick2line.set_transform(ax.transAxes)
+ tick.gridline.set_transform(ax.transAxes)
xlabel('time (s)')
Modified: trunk/htdocs/screenshots/pcolor_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/pcolor_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/pie_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/pie_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/polar_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/polar_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/scatter_demo2_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/scatter_demo2_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/simple_plot_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/simple_plot_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/slider_demo_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/slider_demo_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/text_themes_large.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots/text_themes_small.png
===================================================================
(Binary files differ)
Modified: trunk/htdocs/screenshots.html.template
===================================================================
--- trunk/htdocs/screenshots.html.template 2007-11-29 15:40:42 UTC (rev
4501)
+++ trunk/htdocs/screenshots.html.template 2007-11-29 16:28:07 UTC (rev
4502)
@@ -101,11 +101,15 @@
('mathtext_demo', """The mathtext module provides TeX style
mathematical expressions using freetype2 and the BaKoMa computer
-modern fonts. See the <a href=matplotlib.mathtext.html>mathtext</a>
+modern or STIX fonts. See the <a href=matplotlib.mathtext.html>mathtext</a>
module for usage, licensing and backend information. matplotlib
mathtext is an independent implementation, and does not required TeX
or any external packages installed on your computer.""", 1),
+('mathtext_examples, """A sampling of the many TeX expressions now
+supported by matplotlib's internal mathtext engine.
+""", 1),
+
('wheeler_demo', """
Plot of Level Set (LSM), Phase Field (PFM) and Sharp Interface Models
Modified: trunk/htdocs/whats_new.html.template
===================================================================
--- trunk/htdocs/whats_new.html.template 2007-11-29 15:40:42 UTC (rev
4501)
+++ trunk/htdocs/whats_new.html.template 2007-11-29 16:28:07 UTC (rev
4502)
@@ -1,9 +1,54 @@
# To update, add a new entry to the versioninfo dictionary using the
-# version string as a key. The value of the dict entry should be a
+# version string as a key. The value of the dict entry should be a
# tuple of (name, description) tuples
versioninfo = {}
+versioninfo['0.91.0'] = (
+
+('enhanced mathtext', """Complete revamp of matplotlib's internal math layout
and rendering
+engine. Michael Droetboom has improved the TeX parser to
+significantly expand it's coverege, and implemeted Knuth's box layout
+algorithms. Additionally, the much anticipated <a
+href=http://www.stixfonts.org/>STIX fonts</a> for math expressions
+have come online and ship with matplotlib. See a sample of the new mathtext
at <a
+href=screenshots.html#mathtext_examples>mathtext_examples</a>.
+"""),
+
+
+('better configuration', """Darren Dale has provided support for a site.cfg
configuration file to
+enable users and package maintainers to have better control over the
+matplotlib build process. He has also provided a (currently optional)
+<a href=http://code.enthought.com/traits/>enthought.traits</a> enabled
property configuration to replace
+matplotlib's <a href=matplotlibrc>rc</a> configuration using a <a
href=http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/mpl-data/matplotlib.conf.template?view=markup>maplotlib.conf</a>
file
+
+"""
+)
+
+('writing to file-like objects', """You can now pass file like objects (eg
StringIO) to all backends for hardcopy.
+This has been a much requested feature for usage in web application servers.
+""")
+
+('record array support', """New functions for loading, displaying and saving
numpy record arrays in <a href=matplotlib.html>matplotlib.mlab</a>. See for
example, <a href=examples/loadrec.py>loadrec.py</a>
+"""),
+
+('pyplot', """Added a module <a
href=matplotlib.pyplot.html>matplotlib.pyplot</a> which has all of pylab's
plotting functions (eg figure, plot, show, close) but does not import the numpy
namepace. This is useful for those who want to use the pylab functionality w/o
the namespace clutter.
+"""),
+
+('maskedarray', """Added optional support for the scipy sandbox masked array
packaged. Configurable with an rc setting.
+"""),
+
+('plotfile', """Added new pylab/pyplot command <a
+href=matplotlib.pylab.html#-plotfile>plotfile</a> for gnuplot style file
plotting
+"""),
+
+
+('tons of bugfixes and minor enhancements', """See the <a
href=CHANGELOG>CHANGELOG<a/> and <a href=API_CHANGES>API_CHANGES<a/> for
details.
+"""),
+
+
+)
+
versioninfo['0.90.1'] = (
('unicode support for latex', """Added LaTeX unicode support. Enable with the
'text.latex.unicode'
@@ -68,7 +113,7 @@
columns are plotted as in Matlab"""),
('pcolor now supports vectors', """Made pcolor support vector X and/or Y
instead of
-requiring 2-D arrays."""),
+requiring 2-D arrays."""),
('logarithmic color scaling', """Added LogNorm to colors.py as illustrated by
<a href=examples/pcolor_log.py>pcolor_log.py</a>, based on suggestion by
@@ -220,7 +265,7 @@
('Bugs fixed / small features', """\
Applied SF patches 1242648, 1244732. Fixes SF bugs 1238412, 1231611,
-1209354, subplot (2,1,1) bug,
+1209354, subplot (2,1,1) bug,
"""),
@@ -272,7 +317,7 @@
lines.solid_joinstyle : miter # miter|round|bevel
lines.solid_capstyle : projecting # butt|round|projecting
</pre>
-
+
"""),
('Axes kwargs', """\
@@ -282,7 +327,7 @@
<pre>
subplot(111, xlabel='time', ylabel='volts', autoscale_on=False,
xlim=(-1,1), ylim =(0,10) )
-</pre>
+</pre>
"""),
@@ -437,7 +482,7 @@
Heavy optimizations in line marker drawing eg <tt>plot(x,y,'+')</tt> or any
other line marker. Here are some numbers, where N is the number of
symbols
-
+
<pre>
0.71 0.72 speedup
-----------------------------------
@@ -449,7 +494,7 @@
N = 500000 | 48.81s | 2.32s | 21.03x
</pre>
"""),
-
+
('log plot enhancements', """\
Lots of work making log plots <i>just work</i>. You can toggle log y
axes with the <tt>l</tt> ("ell") keypress -- nonpositive data are simply
@@ -484,8 +529,8 @@
('Key press actions over axes', """\
Default key presses over axes: 'g' toggles grid, 'l' toggles logy"""),
-
+
('little features', """\
Calls to subplot with overlap other subplots now delete the overlapped
subplot, load and save work with file and handles gzipped files
@@ -511,16 +556,16 @@
>>> import matplotlib.pylab
>>> matplotlib.pylab.__all__
</pre>
-"""),
+"""),
('contour zigzag bug fixed', """\
-Thanks Nadia for the blood, sweat and tears, and Dominique for the
report."""),
+Thanks Nadia for the blood, sweat and tears, and Dominique for the report."""),
('contour colormaps', """\
-Contour now uses the current colormap if colors is not provided, and works
with colorbars. See <a
href=examples/contour_demo2.py>contour_demo2.py</a>"""),
+Contour now uses the current colormap if colors is not provided, and works
with colorbars. See <a
href=examples/contour_demo2.py>contour_demo2.py</a>"""),
('colorbar enhancements', """\
-Horizontal colorbars supported with keyword arg
<tt>orientation='horizontal'</tt> and colorbars can be placed in an arbitrary
axes with keyword arg <tt>cax</tt>. See <a
href=matplotlib.pylab.html#-colorbar>colorbar</a>"""),
+Horizontal colorbars supported with keyword arg
<tt>orientation='horizontal'</tt> and colorbars can be placed in an arbitrary
axes with keyword arg <tt>cax</tt>. See <a
href=matplotlib.pylab.html#-colorbar>colorbar</a>"""),
('accents in mathtext', """\
Added accents to mathtext: <tt>\hat, \breve, \grave, \bar, \acute, \tilde,
@@ -545,24 +590,24 @@
FigureManagerGTK.
"""),
-
-
-
+
+
+
)
versioninfo['0.70'] = (
('Users guide', """\
Though still not complete, there's enough to be useful -- <a
href=users_guide.pdf>users_guide.pdf</a>.
-"""),
+"""),
('pie charts', """\
See <a href=screenshots.html#pie_demo>pie screenshot</a>.
-"""),
+"""),
('object picking', """\
@@ -572,10 +617,10 @@
part of the core, as will other keypress functionality for navigation,
grid toogle, zoom toggle etc.
"""),
-
+
('wx/wxagg coords notification', """\
The wx toolbar now reports the x,y coords of the mouse
-"""),
+"""),
('key events', """\
Key press and release event supported across backends -- see
@@ -584,7 +629,7 @@
('shadow effect', """\
<a href=matplotlib.patches.html#Shadow>Shadow</a> patch class provides
-a shadow effect for polygons, legends, pie charts - eg,
+a shadow effect for polygons, legends, pie charts - eg,
<a href=screenshots.html#legend_demo>legend screenshot</a>.
"""),
@@ -637,7 +682,7 @@
href=examples/set_and_get.py>set_and_get.py</a>. Sample usage
<pre>
- >>> lines = plot([1,2,3])
+ >>> lines = plot([1,2,3])
>>> set(lines)
alpha: float
antialiased or aa: [True | False]
@@ -646,13 +691,13 @@
alpha = 1.0
antialiased or aa = True
...snip lots more...
-</pre>
+</pre>
"""),
('colormaps out the wazoo', """\
Added many new matlab compatible colormaps - autumn bone cool
copper flag gray hot hsv jet pink prism spring summer winter -
-Thanks Perry!
+Thanks Perry!
"""),
('zordering', """\
@@ -694,7 +739,7 @@
<pre>
title('hi mom', bbox={'facecolor':'r', 'alpha':0.5})
</pre>
-
+
"""),
('legend properties exposed as keyword arguments', """
@@ -748,7 +793,7 @@
href=examples/polar_scatter.py>polar_scatter.py</a> and <a
href=screenshots.html#polar_demo>polar_demo<a/>."""),
-
+
('cairo backend', """\
Steve Chaplin has contributed a cairo and a gtkcairo backend - <a
href=http://cairographics.org>cairographics</a>. Cairo is a vector
@@ -882,7 +927,7 @@
appropriate interactive, threaded shell, as well as all of
matplotlib.matlab and numerix. Requires ipython-0.6.3. Backend
status summary: linux (all backends working), OSX (tkagg and gtk*
-work), win32 (tkagg only). Thanks Fernando Perez!
+work), win32 (tkagg only). Thanks Fernando Perez!
"""),
('Log ticking and formatting', """Excellent improvements in log
@@ -987,27 +1032,27 @@
Thus you can type --not necessarily recommended for readability in
scripts or apps but great for throwaway use in interactive shells
-<pre>
+<pre>
# no antialiasing, thick green markeredge lines
>>> plot(range(10), 'ro', aa=False, mew=2, mec='g')
</pre>
Analogs in matplotlib.patches
-<pre>
+<pre>
aa : antialiased
lw : linewidth
ec : edgecolor
fc : facecolor
-</pre>
+</pre>
"""),
-
+
('local rc files', """\
You can put a matplotlibrc file in a dir to override the one in your
HOME dir. If you have a project, say a book, and you want to make a
bunch of images with the same look and feel for the book, you can
place a custom rc file in the code dir for that book and this won't
-affect the configs you use for normal, interactive use."""),
+affect the configs you use for normal, interactive use."""),
('Installing', """\
Updated installing instructions at <a
@@ -1064,7 +1109,7 @@
equivalent to doing get_current_fig_manager().canvas.draw(), but takes
less typing :-)
"""),
-
+
('Elaborate finance demo', """\
New finance demo shows off may of the features of matplotlib - see
screenshot at <a href=screenshots.html#finance_work2>finance_work2</a>"""),
@@ -1164,7 +1209,7 @@
# each plot command. Toggle with hold command
grid.color : k # grid color
grid.linestyle : : # dotted
-grid.linewidth : 0.5 # in points
+grid.linewidth : 0.5 # in points
tick.major.pad : 4 # distance to major tick label in points
tick.minor.pad : 4 # distance to the minor tick label in points
@@ -1182,7 +1227,7 @@
to it now.
"""),
- ('Properly aligned text with arbitrary alignments',
+ ('Properly aligned text with arbitrary alignments',
"""You can now expect horizontal and vertical alignment specifications
to work with text at an arbitrary angle, eg, 45 degrees. See <a
href=examples/alignment_test.py>alignment_test.py</a>
"""),
@@ -1250,7 +1295,7 @@
href=matplotlib.dates.html>dates documentation</a> provides an
overview and guide to with dates."""),
-
+
('Ported image support to numarray and postscript backend', """
The image module now works with Numeric or numarray, and now works in
the postscript backend as well as GTKAgg, TkAgg, WXAgg, Agg, and GTK.
@@ -1290,7 +1335,7 @@
"""
),
)
-#######################################################################################
+#######################################################################################
versioninfo['0.52'] = (
('Image support', """
@@ -1358,7 +1403,7 @@
('GTKAgg', """GTK widgets with antigrain rendering. See the <a
href=backends.html#GTKAgg>GTKAgg backend</a>.""" ),
-
+
('freetype2 support added for agg backend', """With freetype2,
agg now renders fonts nicely even at very small raster sizes.""" ),
@@ -1467,14 +1512,14 @@
'x' linestyle. Thanks Matt! """ ),
('Exposed legend properties', """Added methods to access the legend
primities: text, lines, and rectangles to allow fine-grained control over
legend properties; see <a href=examples/legend_demo.py>legend_demo.py</a>""" ),
-
+
('gd module on win32', """\
With much weeping and gnashing of teeth and help from half the people
on this globe, built a gdmodule win32 installer. Special thanks to
Stefan Kuzminski for putting up with my endless windows confusions.
See the win32 quickstart at <a
href=backends.html#GDWIN32>installing</a> the GD backend."""
-),
+),
('GD supports clipping and antialiased line drawing', """\
See instructions about upgrading gd and gdmodule at <a
@@ -1530,8 +1575,8 @@
this should give better agreement with other backends with he
relative sizes of objects</li>
- <li> GTK : Dash spacing was not properly scaling with DPI</li>
- <li> GTK : Rotated text did not display correctly in some cases</li>
+ <li> GTK : Dash spacing was not properly scaling with DPI</li>
+ <li> GTK : Rotated text did not display correctly in some cases</li>
<li> GTK : Lots of optimizations using cacheing in GTK backend for
improved performace for monitoring / animation scripts. Discovered
@@ -1556,7 +1601,7 @@
########################################################################
versioninfo['0.42'] = (
- ('EPS output from PS backend',
+ ('EPS output from PS backend',
"""Just add an eps extension"""),
('PS and EPS save from GTK and WX backends with bugs fixed',
@@ -1566,9 +1611,9 @@
Text class enabled this. Text is now backend independent and behaves
like the other artists in the figure (lines, patches, etc).
Additionally, PS and EPS save from WX backend work
-"""),
+"""),
- ('Object picker example',
+ ('Object picker example',
"""The file examples/object_picker.py is a template showing how to
select objects in the figure with the mouse(eg, text, lines). If you
click on the line, a properties dialog will pop up. You can edit the
@@ -1583,7 +1628,7 @@
########################################################################
versioninfo['0.41'] = (
-('Pcolor optimizations',
+('Pcolor optimizations',
"""Several optimizations have improved the performance of pcolor
across all backends, 4x on the GTK backend"""),
@@ -1593,24 +1638,24 @@
Mostly works with a few know problems. You can simply call
savefig('somefile.ps') or use the PS extension when saving from the
GUI.
-"""),
+"""),
('Bug fixes',
"""
Fixed bugs in semilogy and in setting dashes under some versions of
Numeric
-"""),
+"""),
('bar takes (optional)multiple color args',
"""
You can now pass bar a len(x) list of color args to have bars with
different colors.
-"""),
+"""),
)
##############################################################################
versioninfo['0.40'] = (
-('Wx python backend',
+('Wx python backend',
""" Jeremy O'Donoghue has done an amazing job implementing the backend
for <a href=http://www.wxpython.org>wxpython</a>. See <a
href=matplotlib.backends.backend_wx.html>backend_wx</a> for a status
@@ -1625,7 +1670,7 @@
href=matplotlib.pylab.html#-cohere>cohere</a> plots the coherence.
See the examples <a href=examples/psd_demo.py>psd_demo.py</a> and <a
href=examples/csd_demo.py>csd_demo.py</a>
-"""),
+"""),
('Expanded legend capabilities',
"""
@@ -1676,7 +1721,7 @@
KNOWN BUGS section of the wx src to the <a
href=http://sourceforge.net/mailarchive/forum.php?forum_id=36187>matplotlib-devel</a>
mailing list.
-"""),
+"""),
('Pseudo color plots',
"""
The <a href=matplotlib.pylab.html#-pcolor>pcolor</a> command
@@ -1692,7 +1737,7 @@
path setting for PS backend, fixed a label position bug
"""),
)
-###############################################################################
+###############################################################################
versioninfo['0.29.2'] = (
('Log scaling',
@@ -1727,7 +1772,7 @@
##############################################################################
versioninfo['0.29'] = (
- ('Multiple output devices',
+ ('Multiple output devices',
"""The major improvement in matplotlib with this release is that the
library no longer requires pygtk or GTK, and instead renders to an
abstract drawing interface. This allows you to use matplotlib even in
@@ -1802,10 +1847,10 @@
All drawing is done to a pixmap and then updated. This allows flicker
free updates of the figure. You can use this, for example, to build a
system monitor, which continuously shows system resources such as RAM,
-CPU, etc... See <a href="examples/system_monitor.py">system_monitor.py</a>
for a demo.
+CPU, etc... See <a href="examples/system_monitor.py">system_monitor.py</a>
for a demo.
"""),
)
-############################################################################
+############################################################################
versioninfo['0.2'] = (
('Font handling',
@@ -1831,7 +1876,7 @@
interactively</a>.
"""),
-('Saving figures',
+('Saving figures',
""" Ability to save figures in arbitrary resolution PNG or JPEG with a
bug fix that caused saved figures to be corrupted by anything blocking
the figure window. A GUI widget has been added to the figure toolbar
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins