8000 Update test images · matplotlib/matplotlib@068279c · GitHub
[go: up one dir, main page]

Skip to content

Commit 068279c

Browse files
committed
Update test images
1 parent ec599f1 commit 068279c

File tree

1,787 files changed

+54490
-54401
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,787 files changed

+54490
-54401
lines changed

doc/users/mathtext.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ to blend well with Times), or a Unicode font that you provide. The mathtext
2222
font can be selected with the customization variable ``mathtext.fontset`` (see
2323
:ref:`customizing-matplotlib`)
2424

25-
.. note::
26-
On `"narrow" <http://wordaligned.org/articles/narrow-python>`_ builds
27-
of Python, if you use the STIX fonts you should also set
28-
``ps.fonttype`` and ``pdf.fonttype`` to 3 (the default), not 42.
29-
Otherwise `some characters will not be visible
30-
<http://thread.gmane.org/gmane.comp.python.matplotlib.general/19963/focus=19978>`_.
31-
3225
Here is a simple example::
3326

3427
# plain text
@@ -342,9 +335,3 @@ Here is an example illustrating many of these features in context.
342335

343336
.. plot:: pyplots/pyplot_mathtext.py
344337
:include-source:
345-
346-
347-
348-
349-
350-

lib/matplotlib/mpl-data/stylelib/classic.mplstyle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ savefig.orientation : portrait
407407

408408
nbagg.transparent: True
409409

410+
font.subset : True
411+
410412
# ps backend params
411413
ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10
412414
ps.useafm : False # use of afm fonts, results in small files
@@ -415,12 +417,10 @@ ps.usedistiller : False # can be: None, ghostscript or xpdf
415417
# xpdf intended for production of publication quality files,
416418
# but requires ghostscript, xpdf and ps2eps
417419
ps.distiller.res : 6000 # dpi
418-
ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
419420

420421
# pdf backend params
421422
pdf.compression : 6 # integer from 0 to 9
422423
# 0 disables compression (good for debugging)
423-
pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
424424
pdf.inheritcolor : False
425425
pdf.use14corefonts : False
426426

@@ -432,12 +432,6 @@ pgf.preamble :
432432

433433
# svg backend params
434434
svg.image_inline : True # write raster image data directly into the svg file
435-
svg.fonttype : path # How to handle SVG fonts:
436-
# 'none': Assume fonts are installed on the machine where the SVG will be viewed.
437-
# 'path': Embed characters as paths -- supported by most SVG renderers
438-
# 'svgfont': Embed characters as SVG fonts -- supported only by Chrome,
439-
# Opera and Safari
440-
441435

442436
# Set the verbose flags. This controls how much information
443437
# matplotlib gives you at runtime and where it goes. The verbosity

lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ axes.titlesize: x-large
1818
patch.edgecolor: f0f0f0
1919
patch.linewidth: 0.5
2020

21-
svg.fonttype: path
22-
2321
grid.linestyle: -
2422
grid.linewidth: 1.0
2523
grid.color: cbcbcb

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ def validate_int_or_None(s):
208208

209209

210210
def deprecate_fonttype(s):
211-
warnings.warn("axes.color_cycle is deprecated. Use axes.prop_cycle "
212-
"instead. Will be removed in 2.1.0")
211+
warnings.warn("fonttype is deprecated. Use font.subset instead")
213212
return s
214213

215214

@@ -523,7 +522,7 @@ def deprecate_svg_image_noscale(value):
523522

524523
def deprecate_svg_embed_char_paths(value):
525524
warnings.warn("svg.embed_char_paths is deprecated. Use "
526-
"svg.fonttype instead.")
525+
"font.subset instead.")
527526

528527

529528
validate_svg_fonttype = ValidateInStrings('svg.fonttype',
Loading
Loading
Loading
Binary file not shown.
Loading

0 commit comments

Comments
 (0)
0