Skip to content

Updated the categorical example #23

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

story645
Copy link
Member

switched code in example to:

data = [('apples', 2), ('oranges', 3), ('peaches', 1)]
fruit, value = zip(*data)

fig, ax = plt.subplots()
ax.bar(fruit, value, align='center', color='gray')
plt.show()

@WeatherGod
Copy link
Member

there is a bunch of extra stuff in this diff

"\n",
"# Try to plot the two circles, scale the axes as shown and add a legend\n",
"# Hint: it's easiest to combine `ax.axis(...)` and `ax.margins(...)` to scale\n",
"# the axes\n"
Copy link
Member

Choose a reason for hiding this comment

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

for example, this shouldn't be here

@WeatherGod
Copy link
Member

I'll just include the relevant portions of the change in my #22

@story645
Copy link
Member Author

K, and yeah I wonder if it's 'cause I'm using python 3 and cleared out the output before the PR

@story645 story645 closed this Jul 10, 2018
@WeatherGod
Copy link
Member

maybe, but you also executed a load magic, which is what I referenced

@story645
Copy link
Member Author

hmm, wondering why that is since I cleared all the output...

@story645
Copy link
Member Author

I think it's cause of a code folding plugin (or one of the many other jupyter extensions I've got installed). :/ Next time will grab a clean environment.

@WeatherGod
Copy link
Member

WeatherGod commented Jul 10, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants