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

Appearance settings

BUG: make MaxNLocator.tick_values() obey _symmetric value. #7292

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

Merged
merged 1 commit into from
Oct 18, 2016

Conversation

efiring
Copy link
Member

@efiring efiring commented Oct 17, 2016

A likely use case is contouring fields such as a velocity
component, where one wants to use a diverging colormap
centered on zero.
Closes #7271.

@cleanup
def test_contourf_symmetric_locator():
# github issue 7271
z = np.arange(12).reshape((3,4))
Copy link
Member

Choose a reason for hiding this comment

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

in case you don't feel like parsing the Travis logs, the pep8 checkers wants a space after the comma here:

z = np.arange(12).reshape((3, 4))

@NelleV NelleV changed the title BUG: make MaxNLocator.tick_values() obey _symmetric value. [MRG+1] BUG: make MaxNLocator.tick_values() obey _symmetric value. Oct 17, 2016
@NelleV
Copy link
Member

NelleV commented Oct 17, 2016

Apart from the pep8 failure, it looks good.

A likely use case is contouring fields such as a velocity
component, where one wants to use a diverging colormap
centered on zero.
Closes matplotlib#7271.
@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Oct 17, 2016
@QuLogic QuLogic changed the title [MRG+1] BUG: make MaxNLocator.tick_values() obey _symmetric value. BUG: make MaxNLocator.tick_values() obey _symmetric value. Oct 18, 2016
@QuLogic QuLogic merged commit 6090828 into matplotlib:v2.x Oct 18, 2016
@efiring efiring deleted the contour_symmetric branch October 24, 2021 19:52
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.