Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Sep 1, 2016
1 parent 7781209 commit 06f60c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/examples/basic/src/py/basic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __module import BinomialDistribution, Overload, ProbabilityError

def _repr_latex_(self):
return r"$\mathcal{B}\left(" + str(self.n) + ", " str(round(self.get_pi(), 2)) + r"\right)$"
return r"$\mathcal{B}\left(" + str(self.n) + ", " + str(round(self.get_pi(), 2)) + r"\right)$"

BinomialDistribution._repr_latex_ = _repr_latex_
del _repr_latex_

0 comments on commit 06f60c2

Please sign in to comment.