Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG : fixes non-float args to stem #2839

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

Closed
wants to merge 1 commit into from

Conversation

tacaswell
Copy link
Member

implemented some ugly arg parsing conditionals

fixes #2602

based on 1.4 so six can be used.

implemented some ugly arg parsing conditionals

fixes matplotlib#2602
@@ -2285,19 +2286,28 @@ def stem(self, *args, **kwargs):
self.cla()
self.hold(True)

# Assume there's at least one data array
y = np.asarray(args[0], dtype=np.float)
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't the bug be fixed simply by leaving off the dtype specification here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so, did not see that when I did this.

@tacaswell tacaswell closed this Apr 27, 2014
@tacaswell tacaswell deleted the stem_args branch April 27, 2014 23:33
@tacaswell tacaswell mentioned this pull request Apr 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stem function with datetime argument does not work in 1.3.1
2 participants