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

Skip to content

Commit 2d18bba

Browse files
authored
Merge pull request #23607 from tacaswell/doc_apperance_is_api
DOC: document that appearance is part of our stable API
2 parents 990a1de + 3a51e7e commit 2d18bba

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/devel/color_changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
Default color changes
55
*********************
66

7-
As discussed at length elsewhere [insert links], ``jet`` is an
7+
As discussed at length `elsewhere <https://bids.github.io/colormap/>`__ ,
8+
``jet`` is an
89
empirically bad colormap and should not be the default colormap.
910
Due to the position that changing the appearance of the plot breaks
1011
backward compatibility, this change has been put off for far longer

doc/devel/contributing.rst

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

334+
Because we are a visualization library our primary output is the final
335+
visualization the user sees. Thus it is our :ref:`long standing
336+
<color_changes>` policy that the appearance of the figure is part of the API
337+
and any changes, either semantic or esthetic, will be treated as a
338+
backwards-incompatible API change.
339+
334340
API changes in Matplotlib have to be performed following the deprecation process
335341
below, except in very rare circumstances as deemed necessary by the development team.
336342
This ensures that users are notified before the change will take effect and thus

0 commit comments

Comments
 (0)