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

Skip to content

Commit 555e1c3

Browse files
authored
Merge pull request #16522 from timhoffm/fix-deprecation-warning
Fix deprecation warning
2 parents 9c3c085 + 06bfd9f commit 555e1c3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/matplotlib/streamplot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,9 @@ class StreamplotSet:
235235
def __init__(self, lines, arrows, **kwargs):
236236
if kwargs:
237237
cbook.warn_deprecated(
238-
"3.3", "Passing arbitrary keyword arguments to StreamplotSet "
239-
"is deprecated.")
238+
"3.3",
239+
message="Passing arbitrary keyword arguments to StreamplotSet "
240+
"is deprecated.")
240241
self.lines = lines
241242
self.arrows = arrows
242243

0 commit comments

Comments
 (0)