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

Skip to content

Commit 3c25c56

Browse files
committed
Fix doc warning
1 parent 9faf231 commit 3c25c56

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/lines_bars_and_markers/stem_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
# properties are configurable via keyword arguments. For more advanced
2424
# control adapt the line objects returned by `~.pyplot`.
2525

26-
markerline, stemlines, baseline = plt.stem(x, y, linefmt='grey', markerfmt='D',
27-
bottom=1.1)
26+
markerline, stemlines, baseline = plt.stem(
27+
x, y, linefmt='grey', markerfmt='D', bottom=1.1, use_line_collection=True)
2828
markerline.set_markerfacecolor('none')
2929
plt.show()
3030

tutorials/introductory/sample_plots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@
414414
:scale: 50
415415
416416
xkcd
417+
417418
"""
418419

419420
###################################################################

0 commit comments

Comments
 (0)