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

Skip to content

Commit 3af610c

Browse files
authored
Merge pull request #21586 from timhoffm/defer-hatch-deprecation
API: Defer enforcement of hatch validation
2 parents 98f005c + d2bed51 commit 3af610c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/hatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def _validate_hatch_pattern(hatch):
188188
invalids = ''.join(sorted(invalids))
189189
_api.warn_deprecated(
190190
'3.4',
191+
removal='3.7', # one release after custom hatches (#20690)
191192
message=f'hatch must consist of a string of "{valid}" or '
192193
'None, but found the following invalid values '
193194
f'"{invalids}". Passing invalid values is deprecated '

0 commit comments

Comments
 (0)