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

Bug with nmin in hist() #44

Closed
AstroRobin opened this issue Apr 2, 2020 · 1 comment
Closed

Bug with nmin in hist() #44

AstroRobin opened this issue Apr 2, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AstroRobin
Copy link
Collaborator

There seems to be a bug due to the addition of the nmin parameter in hist(). Minimum working example:

x=np.random.normal(2,1,10000)
y=np.random.gamma(4,0.5,10000)
z=np.cos(x*y)

fig, axes = splt.subplots()

splt.hist([x]*2,v=[y]*2,vstat=['median','mean'],plabel=['running median','running mean'],color='r',
linestyle=['dotted','dashed'])

plt.show()

@AstroRobin AstroRobin added the bug Something isn't working label Apr 2, 2020
@AstroRobin AstroRobin added this to To Do in Modifications to current code via automation Apr 2, 2020
@MBravoS
Copy link
Owner

MBravoS commented Apr 8, 2020

Fixed in version 0.4.6.8.

@MBravoS MBravoS closed this as completed Apr 8, 2020
Modifications to current code automation moved this from To Do to Done Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants