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

Skip to content

Commit 8bd9a99

Browse files
committed
Merged revisions 6861,6873 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6861 | mdboom | 2009-01-30 11:31:47 -0500 (Fri, 30 Jan 2009) | 2 lines Document how to find the currently active matplotlibrc file. ........ r6873 | mdboom | 2009-02-04 08:22:35 -0500 (Wed, 04 Feb 2009) | 2 lines Fix bug in mathtext related to \dots and \ldots (Thanks, Fernando Perez) ........ svn path=/trunk/matplotlib/; revision=6874
1 parent 1451d5c commit 8bd9a99

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2009-02-04 Fix bug in mathtext related to \dots and \ldots - MGD
2+
13
2009-02-03 Change default joinstyle to round - MGD
24

35
2009-02-02 Reduce number of marker XObjects in pdf output - JKS

doc/users/customizing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ locations, in the following order:
2727
customizations to be saved, please move this file to you :file:`.matplotlib`
2828
directory.
2929

30+
To display where the currently active :file:`matplotlibrc` file was
31+
loaded from, one can do the following::
32+
33+
>>> import matplotlib
34+
>>> matplotlib.matplotlib_fname()
35+
'/home/foo/.matplotlib/matplotlibrc'
3036

3137
See below for a sample :ref:`matplotlibrc file<matplotlibrc-sample>`.
3238

examples/pylab_examples/mathtext_examples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import gc
66

77
stests = [
8+
r'$a+b+\dots+\dot{s}+\ldots$',
89
r'$x \doteq y$',
910
r'\$100.00 $\alpha \_$',
1011
r'$\frac{\$100.00}{y}$',

lib/matplotlib/_mathtext_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@
18051805
'Game': 0x2141,
18061806
'hbar': 0x0127,
18071807
'hslash': 0x210f,
1808-
'ldots': 0x22ef,
1808+
'ldots': 0x2026,
18091809
'vdots': 0x22ee,
18101810
'doteqdot': 0x2251,
18111811
'doteq': 8784,
@@ -2100,7 +2100,7 @@
21002100
'propto': 8733,
21012101
'pi': 960,
21022102
'pm': 177,
2103-
'dots': 8230,
2103+
'dots': 0x2026,
21042104
'nrightarrow': 8603,
21052105
'textasciiacute': 180,
21062106
'Doteq': 8785,

lib/matplotlib/mathtext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ class Parser(object):
20372037
\sqsubset \sqsupset \neq \smile
20382038
\sqsubseteq \sqsupseteq \doteq \frown
20392039
\in \ni \propto
2040-
\vdash \dashv'''.split())
2040+
\vdash \dashv \dots'''.split())
20412041

20422042
_arrow_symbols = set(r'''
20432043
\leftarrow \longleftarrow \uparrow
@@ -2180,9 +2180,9 @@ def __init__(self):
21802180
+ (group | Error("Expected \sqrt{value}"))
21812181
).setParseAction(self.sqrt).setName("sqrt")
21822182

2183-
placeable <<(accent
2184-
^ function
2183+
placeable <<(function
21852184
^ (c_over_c | symbol)
2185+
^ accent
21862186
^ group
21872187
^ frac
21882188
^ sqrt

0 commit comments

Comments
 (0)