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

Axis is not correclty passed from Distribution.plot_ccdf() to Distribution.plot_cdf() #30

Closed
paolosg opened this issue Feb 29, 2016 · 2 comments

Comments

@paolosg
Copy link

paolosg commented Feb 29, 2016

At line 969 of powerlaw.py:
ax=None -> ax=ax

Moreover a few lines below (L999-1000), the new axis, in case it was not passed as parameter, is not correctly created. I suggest substituting to L999-1002

    fig, ax = plt.subplots()
ax.plot(bins, CDF, **kwargs)
@jeffalstott
Copy link
Owner

Brilliant. Fixed. Ensure this is what you're looking for and I'll push it to PyPI.

@paolosg
Copy link
Author

paolosg commented Mar 7, 2016

Yep, that's it.

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

No branches or pull requests

2 participants