X Tutup
Skip to content

Update demo_floating_axes.py with comments#6369

Merged
tacaswell merged 2 commits intomatplotlib:masterfrom
dstansby:floating-axis-comments
May 6, 2016
Merged

Update demo_floating_axes.py with comments#6369
tacaswell merged 2 commits intomatplotlib:masterfrom
dstansby:floating-axis-comments

Conversation

@dstansby
Copy link
Copy Markdown
Member

@dstansby dstansby commented May 5, 2016

A couple of comments I think are useful when looking at the demo


grid_locator2 = MaxNLocator(3)

# Set theta limits in degrees
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

To be slightly bikesheddy, does this read as the local assignment sets the limits, rather than these will be the limits that are passed in via the extremes kwargs to GridHelperCurveLinear below.

I may have been doing too much pytest work recently and am looking for magic everywhere...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sounds fair to me! I've changed the wording to 'specify' which should be better

@tacaswell tacaswell added this to the 2.1 (next point release) milestone May 5, 2016
@tacaswell
Copy link
Copy Markdown
Member

👍 I will let the tests run (even though I am pretty sure they are going to fail for un-related reasons).

@tacaswell tacaswell merged commit 76a884c into matplotlib:master May 6, 2016
@dstansby dstansby deleted the floating-axis-comments branch November 17, 2016 11:27
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

X Tutup