8000 DOC: merge api_changes and whats_new files up to main rst files · matplotlib/matplotlib@0392c8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0392c8d

Browse files
committed
DOC: merge api_changes and whats_new files up to main rst files
1 parent 54a85e4 commit 0392c8d

File tree

5 files changed

+39
-31
lines changed

5 files changed

+39
-31
lines changed

doc/api/api_changes.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,45 @@ required that third-party backends extend
3535
these changes easier.
3636

3737

38+
`afm.get_fontconfig_fonts` returns a list of paths and does not check for existence
39+
-----------------------------------------------------------------------------------
40+
41+
`afm.get_fontconfig_fonts` used to return a set of paths encoded as a
42+
``{key: 1, ...}`` dict, and checked for the existence of the paths. It now
43+
returns a list and dropped the existence check, as the same check is performed
44+
by the caller (`afm.findSystemFonts`) as well.
45+
46+
47+
`bar` now returns rectangles of negative height or width if the corresponding input is negative
48+
-----------------------------------------------------------------------------------------------
49+
50+
`plt.bar` used to normalize the coordinates of the rectangles that it created,
51+
to keep their height and width positives, even if the corresponding input was
52+
negative. This normalization has been removed to permit a simpler computation
53+
of the correct `sticky_edges` to use.
54+
55+
56+
Do not clip line width when scaling dashes
57+
------------------------------------------
58+
59+
The algorithm to scale dashes was changed to no longer clip the
60+
scaling factor: the dash patterns now continue to shrink at thin line widths.
61+
If the line width is smaller than the effective pixel size, this may result in
62+
dashed lines turning into solid gray-ish lines. This also required slightly
63+
tweaking the default patterns for '--', ':', and '.-' so that with the default
64+
line width the final patterns would not change.
65+
66+
There is no way to restore the old behavior.
67+
68+
69+
Deprecate 'Vega' color maps
70+
---------------------------
71+
72+
The "Vega" colormaps are deprecated in Matplotlib 2.0.1 and will be
73+
removed in Matplotlib 2.2. Use the "tab" colormaps instead: "tab10",
74+
"tab20", "tab20b", "tab20c".
75+
76+
3877
API Changes in 2.0.0
3978
====================
4079

doc/api/api_changes/2016-12-09-AL_afm.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/api/api_changes/2017-01-30-AL_negative_bar_height_width.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/api/api_changes/2017-02-06_TAC.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/users/whats_new/deprecations.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0