8000 ...Fix warnings.warn->cbook._warn_external · matplotlib/matplotlib@be0dc01 · GitHub
[go: up one dir, main page]

Skip to content

Commit be0dc01

Browse files
authored
...Fix warnings.warn->cbook._warn_external
1 parent 00de51b commit be0dc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2638,7 +2638,7 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
26382638
self.add_collection(stemlines)
26392639
# Old behaviour is to plot each of the lines individually
26402640
else:
2641-
warnings.warn(
2641+
cbook._warn_extrnal(
26422642
'In Matplotlib 3.3 individual lines on a stem plot will be '
26432643
'added as a LineCollection instead of individual lines.\n'
26442644
'This significantly improves the performance of a stem plot.\n'

0 commit comments

Comments
 (0)
0