8000 Added new_features/api_changes docs · matplotlib/matplotlib@dfa88bc · GitHub
[go: up one dir, main page]

Skip to content

Commit dfa88bc

Browse files
committed
Added new_features/api_changes docs
1 parent f3764c5 commit dfa88bc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Colorful legend shadows
2+
-------------------------
3+
The *shadow* parameter of legends now accepts colors in addition to booleans.
4+
If it is neither, a ValueError is thrown.
5+
Current implementation prefers colors over booleans,
6+
thus *'y', '1'*, and *'0'* are now interpreted as colors instead of bools.
7+
An accessory validation function `.rcsetup.validate_color_or_bool`
8+
has also been added.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Colorful legend shadows
2+
-------------------------
3+
The *shadow* parameter of legends now accepts colors in addition to booleans.
4+
Current implementation prefers colors over booleans,
5+
thus *'y', '1'*, and *'0'* are interpreted as colors.
6+
An accessory validation function `.rcsetup.validate_color_or_bool`
7+
has also been added.

0 commit comments

Comments
 (0)
0