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

Issues with plotting functions #5

Open
mzavolan opened this issue Aug 24, 2019 · 2 comments
Open

Issues with plotting functions #5

mzavolan opened this issue Aug 24, 2019 · 2 comments
Labels

Comments

@mzavolan
Copy link

Hi

I am trying to run through the StochPy usage Demo from the README.txt file I have downloaded from sourceforge. I am running the commands in a jupyter notebook running python 3.7.3 and I get some errors in the plotting functions
smod.PlotWaitingtimesDistributions()
smod.PlotPropensitiesTimeSeries()

The errors come in different places but they are of the type
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

I am surprised that this has not come up before. Thanks for suggestions of solutions.

Mihaela

@smoes-prime
Copy link

I get the same error running in both python 3.7 and 2.7

@bgoli bgoli added the bug label Sep 9, 2020
@bgoli
Copy link
Member

bgoli commented Sep 9, 2020

Thanks for reporting this, I think this is due to changes in the numpy API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants