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

Skip to content

Commit 77c23f8

Browse files
committed
Merge pull request #6487 from francoiseprovencher/fix-example
Added docstring to scatter_with_legend.py [MEP12]
2 parents 8fd658b + d922945 commit 77c23f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/lines_bars_and_markers/scatter_with_legend.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
'''
2+
Demo of a scatter plot (scatter) with a legend.
3+
4+
Also demonstrates how transparency of the markers
5+
can be adjusted by giving ``alpha`` a value between
6+
0 and 1.
7+
'''
8+
19
import matplotlib.pyplot as plt
210
from numpy.random import rand
311

0 commit comments

Comments
 (0)