Skip to content

Commit aedb386

Browse files
author
Daniel Hyams
committed
Merge remote branch 'original/master'
Conflicts: src/ft2font.cpp
2 parents 05a9d9e + eab2a9e commit aedb386

File tree

1,636 files changed

+54317
-34497
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,636 files changed

+54317
-34497
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dist
3535

3636
# OS generated files #
3737
######################
38+
.directory
3839
.gdb_history
3940
.DS_Store?
4041
ehthumbs.db

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ python:
66
- 3.2
77

88
install:
9-
- pip install --use-mirrors nose
9+
- pip install --use-mirrors nose python-dateutil
10+
# This is a workaround to install the latest versions of pyparsing,
11+
# which are not yet available on PyPI
12+
- 'if [ $TRAVIS_PYTHON_VERSION == "3.2" ]; then pip install http://sourceforge.net/projects/pyparsing/files/pyparsing/pyparsing-2.0.0/pyparsing-2.0.0.tar.gz; fi'
13+
- 'if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install http://sourceforge.net/projects/pyparsing/files/pyparsing/pyparsing-1.5.7/pyparsing-1.5.7.tar.gz; fi'
1014
# This is a workaround to install numpy with the version of
1115
# virtualenv in Travis. If that is updated in the future, this can
1216
# be simplified to 'pip install numpy'
1317
- 'if [ $TRAVIS_PYTHON_VERSION == "3.2" ]; then pip install https://github.com/y-p/numpy/archive/1.6.2_with_travis_fix.tar.gz; fi'
1418
- 'if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install numpy; fi' # should be nop if pre-installed
1519
- if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip install --use-mirrors PIL; fi
20+
- sudo apt-get update && sudo apt-get install inkscape
1621
- python setup.py install
1722

1823
script:
19-
- mkdir ../foo
20-
- cd ../foo
21-
- python ../matplotlib/tests.py
24+
- mkdir ../tmp_test_dir
25+
- cd ../tmp_test_dir
26+
- python ../matplotlib/tests.py -sv

CHANGELOG

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1+
2013-04-15 Added 'axes.xmargin' and 'axes.ymargin' to rpParams to set default
2+
margins on auto-scaleing. - TAC
3+
4+
2013-03-19 Added support for passing `linestyle` kwarg to `step` so all `plot`
5+
kwargs are passed to the underlying `plot` call. -TAC
6+
7+
2013-02-25 Added classes CubicTriInterpolator, UniformTriRefiner, TriAnalyzer
8+
to matplotlib.tri module. - GBy
9+
10+
2013-01-23 Add 'savefig.directory' to rcParams to remember and fill in the last
11+
directory saved to for figure save dialogs - Martin Spacek
12+
13+
2013-01-13 Add eventplot method to axes and pyplot and EventCollection class
14+
to collections.
15+
16+
2013-01-08 Added two extra titles to axes which are flush with the left and
17+
right edges of the plot respectively.
18+
Andrew Dawson
19+
120
2013-01-07 Add framealpha keyword argument to legend - PO
221

22+
2013-01-16 Till Stensitzki added a baseline feature to stackplot
23+
324
2012-12-22 Added classes for interpolation within triangular grids
425
(LinearTriInterpolator) and to find the triangles in which points
526
lie (TrapezoidMapTriFinder) to matplotlib.tri module. - IMT
@@ -32,7 +53,7 @@
3253
_get_rbg_face except it return a (r,g,b,a) tuble, to line2D.
3354
Modified Line2D.draw to use _get_rbga_face to get the markerface
3455
color so that any alpha set by markerfacecolor will respected.
35-
- Thomas Caswell
56+
- Thomas Caswell
3657

3758
2012-11-13 Add a symmetric log normalization class to colors.py.
3859
Also added some tests for the normalization class.
@@ -1018,7 +1039,7 @@
10181039
2009-02-02 Change default resolution on polar plot to 1 - MGD
10191040

10201041
2009-02-02 Avoid malloc errors in ttconv for fonts that don't have
1021-
e.g. PostName (a version of Tahoma triggered this) - JKS
1042+
e.g., PostName (a version of Tahoma triggered this) - JKS
10221043

10231044
2009-01-30 Remove support for pyExcelerator in exceltools -- use xlwt
10241045
instead - JDH
@@ -1092,7 +1113,7 @@
10921113
(slanting and extending). - JKS
10931114

10941115
2008-12-29 Fix a bug in pdf usetex support, which occurred if the same
1095-
Type-1 font was used with different encodings, e.g. with
1116+
Type-1 font was used with different encodings, e.g., with
10961117
Minion Pro and MnSymbol. - JKS
10971118

10981119
2008-12-20 fix the dpi-dependent offset of Shadow. - JJL
@@ -1191,7 +1212,7 @@
11911212

11921213
2008-12-08 Some of the changes Michael made to improve the output of
11931214
the property tables in the rest docs broke of made
1194-
difficult to use some of the interactive doc helpers, eg
1215+
difficult to use some of the interactive doc helpers, e.g.,
11951216
setp and getp. Having all the rest markup in the ipython
11961217
shell also confused the docstrings. I added a new rc param
11971218
docstring.harcopy, to format the docstrings differently for
@@ -1215,7 +1236,7 @@
12151236
2008-12-05 Fixed a bug that the handlelength of the new legend class
12161237
set too short when numpoints=1 -JJL
12171238

1218-
2008-12-04 Added support for data with units (e.g. dates) to
1239+
2008-12-04 Added support for data with units (e.g., dates) to
12191240
Axes.fill_between. -RM
12201241

12211242
2008-12-04 Added fancybox keyword to legend. Also applied some changes
@@ -1296,7 +1317,7 @@
12961317
Tollerud and Jae-Joon Lee. - MM
12971318

12981319
2008-10-11 Fixed bug in pdf backend: if you pass a file object for
1299-
output instead of a filename, e.g. in a wep app, we now
1320+
output instead of a filename, e.g., in a wep app, we now
13001321
flush the object at the end. - JKS
13011322

13021323
2008-10-08 Add path simplification support to paths with gaps. - EF
@@ -1509,7 +1530,7 @@
15091530
2008-06-20 Added set/get_closed method to Polygon; fixes error
15101531
in hist - MM
15111532

1512-
2008-06-19 Use relative font sizes (e.g. 'medium' and 'large') in
1533+
2008-06-19 Use relative font sizes (e.g., 'medium' and 'large') in
15131534
rcsetup.py and matplotlibrc.template so that text will
15141535
be scaled by default when changing rcParams['font.size'] -
15151536
EF
@@ -2141,8 +2162,8 @@
21412162

21422163
2007-07-31 Refactoring of distutils scripts.
21432164
- Will not fail on the entire build if an optional Python
2144-
package (e.g. Tkinter) is installed but its development
2145-
headers are not (e.g. tk-devel). Instead, it will
2165+
package (e.g., Tkinter) is installed but its development
2166+
headers are not (e.g., tk-devel). Instead, it will
21462167
continue to build all other extensions.
21472168
- Provide an overview at the top of the output to display
21482169
what dependencies and their versions were found, and (by
@@ -2174,7 +2195,7 @@
21742195
should be changed to ${\cal R}$. Alternatively, you may
21752196
use the new LaTeX-style font commands (\mathcal, \mathrm,
21762197
\mathit, \mathtt) which do affect the following group,
2177-
eg. $\mathcal{R}$.
2198+
e.g., $\mathcal{R}$.
21782199

21792200
Other new features include:
21802201

@@ -2184,10 +2205,10 @@
21842205

21852206
- Sub/superscripts are less likely to accidentally overlap.
21862207

2187-
- Support for sub/superscripts in either order, eg. $x^i_j$
2208+
- Support for sub/superscripts in either order, e.g., $x^i_j$
21882209
and $x_j^i$ are equivalent.
21892210

2190-
- Double sub/superscripts (eg. $x_i_j$) are considered
2211+
- Double sub/superscripts (e.g., $x_i_j$) are considered
21912212
ambiguous and raise an exception. Use braces to disambiguate.
21922213

21932214
- $\frac{x}{y}$ can be used for displaying fractions.
@@ -2450,7 +2471,7 @@
24502471
color-setting operations in the pdf backend. The idea is
24512472
that you include the resulting file in another program and
24522473
set the colors (both stroke and fill color) there, so you
2453-
can use the same pdf file for e.g. a paper and a
2474+
can use the same pdf file for e.g., a paper and a
24542475
presentation and have them in the surrounding color. You
24552476
will probably not want to draw figure and axis frames in
24562477
that case, since they would be filled in the same color. - JKS
@@ -2539,7 +2560,7 @@
25392560
frameowrk. Artists will define their own pick method with
25402561
a configurable epsilon tolerance and return pick attrs.
25412562
All artists that meet the tolerance threshold will fire a
2542-
PickEvent with artist dependent attrs; eg, a Line2D can set
2563+
PickEvent with artist dependent attrs; e.g., a Line2D can set
25432564
the indices attribute that shows the indices into the line
25442565
that are within epsilon of the pick point. See
25452566
examples/pick_event_demo.py. The implementation of pick
@@ -2649,7 +2670,7 @@
26492670

26502671
2006-11-19 Added semi-automatic docstring generation detailing all the
26512672
kwargs that functions take using the artist introspection
2652-
tools; eg 'help text now details the scatter kwargs
2673+
tools; e.g., 'help text now details the scatter kwargs
26532674
that control the Text properties - JDH
26542675

26552676
2006-11-17 Removed obsolete scatter_classic, leaving a stub to
@@ -2939,7 +2960,7 @@
29392960

29402961
2006-06-16 Added a pointer to parent in figure canvas so you can
29412962
access the container with fig.canvas.manager. Useful if
2942-
you want to set the window title, eg in gtk
2963+
you want to set the window title, e.g., in gtk
29432964
fig.canvas.manager.window.set_title, though a GUI neutral
29442965
method would be preferable JDH
29452966

@@ -3408,7 +3429,7 @@
34083429

34093430
2005-12-03 Modified scipy patch to support Numeric, scipy and numarray
34103431
Some work remains to be done because some of the scipy
3411-
imports are broken if only the core is installed. Eg
3432+
imports are broken if only the core is installed. e.g.,
34123433
apparently we need from scipy.basic.fftpack import * rather
34133434
than from scipy.fftpack import *
34143435

@@ -3657,7 +3678,7 @@
36573678
2005-07-06 Made HOME/.matplotlib the new config dir where the
36583679
matplotlibrc file, the ttf.cache, and the tex.cache live.
36593680
The new default filenames in .matplotlib have no leading
3660-
dot and are not hidden. Eg, the new names are matplotlibrc
3681+
dot and are not hidden. e.g., the new names are matplotlibrc
36613682
tex.cache ttffont.cache. This is how ipython does it so it
36623683
must be right. If old files are found, a warning is issued
36633684
and they are moved to the new location. Also fixed
@@ -3931,7 +3952,7 @@
39313952

39323953
2005-04-11 Applied a variant of rick's xlim/ylim/axis patch. These
39333954
functions now take kwargs to let you selectively alter only
3934-
the min or max if desired. Eg xlim(xmin=2) or
3955+
the min or max if desired. e.g., xlim(xmin=2) or
39353956
axis(ymax=3). They always return the new lim. - JDH
39363957

39373958

@@ -4060,7 +4081,7 @@
40604081
2005-02-23 Added rc param ps.useafm so backend ps can use native afm
40614082
fonts or truetype. afme breaks mathtext but causes much
40624083
smaller font sizes and may result in images that display
4063-
better in some contexts (eg pdfs incorporated into latex
4084+
better in some contexts (e.g., pdfs incorporated into latex
40644085
docs viewed in acrobat reader). I would like to extend
40654086
this approach to allow the user to use truetype only for
40664087
mathtext, which should be easy.
@@ -4188,9 +4209,9 @@
41884209

41894210
2005-01-18 Added accents to mathtext: \hat, \breve, \grave, \bar,
41904211
\acute, \tilde, \vec, \dot, \ddot. All of them have the
4191-
same syntax, eg to make an overbar you do \bar{o} or to
4212+
same syntax, e.g., to make an overbar you do \bar{o} or to
41924213
make an o umlaut you do \ddot{o}. The shortcuts are also
4193-
provided, eg: \"o \'e \`e \~n \.x \^y - JDH
4214+
provided, e.g., \"o \'e \`e \~n \.x \^y - JDH
41944215

41954216
2005-01-18 Plugged image resize memory leaks - JDH
41964217

@@ -4357,7 +4378,7 @@
43574378

43584379
2004-12-04 Fixed some legend bugs JDH
43594380

4360-
2004-11-30 Added over command for oneoff over plots. Eg over(plot, x,
4381+
2004-11-30 Added over command for oneoff over plots. e.g., over(plot, x,
43614382
y, lw=2). Works with any plot function.
43624383

43634384
2004-11-30 Added bbox property to text - JDH
@@ -4533,7 +4554,7 @@
45334554
2004-09-17 Added coords formatter attributes. These must be callable,
45344555
and return a string for the x or y data. These will be used
45354556
to format the x and y data for the coords box. Default is
4536-
the axis major formatter. Eg
4557+
the axis major formatter. e.g.:
45374558

45384559
# format the coords message box
45394560
def price(x): return '$%1.2f'%x

0 commit comments

Comments
 (0)