Skip to content

Commit c5e20ff

Browse files
aleicazattitwiecki
authored andcommitted
Small fix in HyperGeometric docstring
1 parent b3541ad commit c5e20ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pymc/distributions/discrete.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,7 @@ class HyperGeometric(Discrete):
847847
k = 10
848848
for n in [20, 25]:
849849
pmf = st.hypergeom.pmf(x, N, k, n)
850-
plt.plot(x, pmf, '-o', label='n = {}'.format(n))
851-
plt.plot(x, pmf, '-o', label='N = {}'.format(N))
852-
plt.plot(x, pmf, '-o', label='k = {}'.format(k))
850+
plt.plot(x, pmf, '-o', label='N = {}, k = {}, n = {}'.format(N, k, n))
853851
plt.xlabel('x', fontsize=12)
854852
plt.ylabel('f(x)', fontsize=12)
855853
plt.legend(loc=1)

0 commit comments

Comments
 (0)