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

[WIP] DOC Updated documentation of arrow function to numpy docs format.#7029

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
tacaswell merged 6 commits intomatplotlib:masterfrommobando:master
Sep 24, 2016

Conversation

mobando
Copy link
Contributor

Hi@NelleV,
we tried to update the doc of arrow().
Bye,
Miguel and Bo

@NelleV

dy : float
Length of arrow in y-coordinate

Return
Copy link
Member

Choose a reason for hiding this comment

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

There is a small mistake in the title of this section. It should be Returns (with an s)

@NelleV
Copy link
Member

Apart from my two comments, this is great!
Thanks,
N


**Example:**
Examples
--------

.. plot:: mpl_examples/pylab_examples/arrow_demo.py
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 please add a blank line after this? I am not entirely sure why, but python3.5 is unhappy…

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I wasn't clear: I meant after the ".. plot::" directive.

@NelleV
Copy link
Member

The rendering is now fixed and it looks great!

@QuLogic
Copy link
Member

QuLogic commentedSep 6, 2016
edited
Loading

It appears you had notset the config for your git client initially. Your first commit is attributed to "Your Nameyou@example.com", which is probably not what you want.

y : float
Y-coordinate of the arrow base
dx : float
Length of arrow in x-coordinate
Copy link
Member

Choose a reason for hiding this comment

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

"in" -> "along"

@NelleVNelleV changed the titleDOC Updated documentation of arrow function to numpy docs format.[WIP] DOC Updated documentation of arrow function to numpy docs format.Sep 14, 2016
@NelleV
Copy link
Member

Hi Miguel and Bo,

This patch still needs a bit of work. Do you want to finish it or should I take over?

Cheers,
N

@tacaswelltacaswell added this to the2.0.1 (next bug fix release) milestoneSep 20, 2016
@mobando
Copy link
ContributorAuthor

I repaired the wording (in > along) and the whitespace as per comments, but I am at a loss about the FancyArrow properties issue. I would appreciate suggestions here.


Draws arrow on specified axis from (*x*, *y*) to (*x* + *dx*,
*y* + *dy*). Uses FancyArrow patch to construct the arrow.
%(FancyArrow)s : Parent object type.
Copy link
Member

Choose a reason for hiding this comment

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

Do not put anything after%(FancyArrow)s, that code get templated at import time to be a big tables.

@QuLogic
Copy link
Member

CI's not done, but I expect it will pass as the doc build is already done. The first commit still needs rebasing to give it a unique author (which could be done by one of us if given the name/email to use), but modulo that it should be ready.

@mobando
Copy link
ContributorAuthor

mobando commentedSep 22, 2016
edited
Loading

So now the commits have been rebased to have a unique author and Travis passed, but one of the appveyor builds failed. Can anyone make sense of the .tex error messages?

There seems to be a small difference in the generated images of the test_backend_pgf, but I do not see how that relates to the documentation changes.

@Kojoley
Copy link
Member

There seems to be a small difference in the generated images of the test_backend_pgf, but I do not see how that relates to the documentation changes.

The fail in pgf_pdflatex is not related. (it is failing for all build for a while now#7160)

@tacaswelltacaswell merged commit8ff57bb intomatplotlib:masterSep 24, 2016
@tacaswell
Copy link
Member

Thanks everyone!

tacaswell added a commit that referenced this pull requestSep 24, 2016
DOC: Updated documentation of arrow function to numpy docs format.
@tacaswell
Copy link
Member

backported to v2.x as0370181

@QuLogicQuLogic modified the milestones:2.0.1 (next bug fix release),2.0 (style change major release)Dec 7, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell left review comments

Assignees
No one assigned
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

6 participants
@mobando@NelleV@QuLogic@Kojoley@tacaswell@mdboom

[8]ページ先頭

©2009-2025 Movatter.jp