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

Skip to content

Commit bc4be15

Browse files
committed
DOC: document that appearance is part of our stable API
This is a long standing policy (the reference I found is from 2015 and I remember that being the position when I started to work on Matplotlib in 2012) and is being documented here. This position is consistent with our testing scheme (that strives for pixel identical renderings across platforms, Python versions, and Matplotlib versions). Changing the default colormap (and the rest of the styling) was the proximal cause of 2.0 not being 1.6 due to this policy.
1 parent ad926a8 commit bc4be15

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/devel/contributing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,12 @@ API consistency and stability are of great value. Therefore, API changes
289289
(e.g. signature changes, behavior changes, removals) will only be conducted
290290
if the added benefit is worth the user effort for adapting.
291291

292+
Because we are a visualization library our primary output is the final
293+
visualization the user sees. Thus it is our :ref:`long standing
294+
<color_changes>`_ policy that the appearance of the figure is part of the API
295+
and any changes, either semantic or esthetic, will be treated as a
296+
backwards-incompatible API change.
297+
292298
API changes in Matplotlib have to be performed following the deprecation process
293299
below, except in very rare circumstances as deemed necessary by the development team.
294300
This ensures that users are notified before the change will take effect and thus

0 commit comments

Comments
 (0)