Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update probability.py #2318

Closed
wants to merge 1 commit into from
Closed

Update probability.py #2318

wants to merge 1 commit into from

Conversation

zhuyuanxiang
Copy link

hi, maybe I found a error in probability.py.
At Line 1907, "from matplotlib.pyplot import plt" maybe is the right code.

hi, maybe I found a error in probability.py.
At Line 1907, "from matplotlib.pyplot import plt" maybe is the right code.
@stevenbird
Copy link
Member

NB #2317

@BLaZeKiLL
Copy link
Contributor

BLaZeKiLL commented Jun 13, 2019

this still causes the import error
replacing it with
import matplotlib.pyplot as plt
causes a different error
UnboundLocalError: local variable 'v' referenced before assignment

I have fixed it (at least it is working for me now) #2319

@stevenbird
Copy link
Member

Thanks @zhuyuanxiang - we'll accept a different PR for this

@stevenbird stevenbird closed this Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants