Skip to content

created function wrapper for barchart example #3579

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 4 commits into from

Conversation

eduardoh28
Copy link

No description provided.

nBins = len(lst_bar_heights[0])
ind = np.arange(nBins) # the x locations for the groups
width = bar_width # the width of the bars
fig, ax = plt.subplots()
Copy link
Member

Choose a reason for hiding this comment

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

Can you move this outside of the function and pass the axes object in as the first argument?

@tacaswell tacaswell modified the milestones: proposed next point release, next point release Feb 19, 2015
@tacaswell tacaswell modified the milestones: next point release, proposed next point release Jul 17, 2015
@tacaswell tacaswell modified the milestone: 2.1 (next point release) Aug 29, 2017
@dstansby
Copy link
Member

Thanks for the contribution, and sorry it never got merged; since we're moving towards tutorial-oriented examples that aren't functionalised, and this looks like a nasty rebse I'm going to close this.

@dstansby dstansby closed this Sep 21, 2017
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.

3 participants