Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TST: add test of normed histogram with unequal bins#9564

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dstansby merged 2 commits intomatplotlib:masterfromjakevdp:fix-9557
Oct 25, 2017

Conversation

jakevdp
Copy link
Contributor

Add test for#9557

@jakevdp
Copy link
ContributorAuthor

jakevdp commentedOct 24, 2017
edited
Loading

This should be back-ported to 2.1.x along with#9121

rng = np.random.RandomState(57483)
t = rng.randn(100)
bins = [-3, -1, -0.5, 0, 1, 5]
mpl_heights, _, _ = plt.hist(t, bins=bins, normed=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

normed is deprecated!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

D'oh! Conflated things. Sorry.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Its very confusing!

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done

@jklymak
Copy link
Member

Looks good unless the tests bork...

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks!

@dstansbydstansby added this to thev2.2 milestoneOct 25, 2017
@dstansbydstansby merged commitad616c6 intomatplotlib:masterOct 25, 2017
@tacaswelltacaswell modified the milestones:v2.2,v2.1.1Oct 25, 2017
@tacaswell
Copy link
Member

@meeseeksdev backport to 2.1.x

@QuLogic
Copy link
Member

v2.1.x?

@tacaswell
Copy link
Member

@meeseeksdev backport to v2.1.x

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@phobsonphobsonphobson approved these changes

@jklymakjklymakjklymak approved these changes

@dstansbydstansbydstansby approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.1.1
Development

Successfully merging this pull request may close these issues.

6 participants
@jakevdp@jklymak@tacaswell@QuLogic@phobson@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp