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

Add a *simple* arrow example #1187

Merged
merged 2 commits into from Sep 5, 2012
Merged

Conversation

dmcdougall
Copy link
Member

The current arrow example is rather long. As requested in a comment in #1096, this provides a much simpler arrow example for users to look at.

@travisbot
Copy link

This pull request fails (merged 6e36175 into 4c1e36d).

import matplotlib.pyplot as plt

fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
Copy link
Member

Choose a reason for hiding this comment

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

Even simpler:

ax = plt.axes()
ax.arrow(...)

?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah yes. Sorry! This is debris from the object oriented interface. I'm a heavy OO user, so when I write I examples I use the OO and then convert them to pyplot when I'm done. I'll fix this.

@travisbot
Copy link

This pull request fails (merged a93a9e3 into 4c1e36d).

mdboom added a commit that referenced this pull request Sep 5, 2012
@mdboom mdboom merged commit 61bdcc3 into matplotlib:master Sep 5, 2012
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.

None yet

4 participants