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

Skip to content

Commit ba1f673

Browse files
committed
Documenting the isRGB -> isRGBA change to API
1 parent 71e9ad9 commit ba1f673

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/api_changes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ Changes in 1.3.x
5252
:class:`~matplotlib.patches.Patch` had ``alpha=None``, the alpha component
5353
of ``edgecolor`` would be applied to both the edge and face.
5454

55+
* The optional ``isRGB`` argument to
56+
:meth:`~matplotlib.backend_bases.GraphicsContextBase.set_foreground` (and
57+
the other GraphicsContext classes that descend from it) has been renamed to
58+
``isRGBA``, and should now only be set to ``True`` if the ``fg`` color
59+
argument is known to be an RGBA tuple.
60+
5561
* For :class:`~matplotlib.patches.Patch`, the ``capstyle`` used is now
5662
``butt``, to be consistent with the default for most other objects, and to
5763
avoid problems with non-solid ``linestyle`` appearing solid when using a

0 commit comments

Comments
 (0)