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

Merge pull request #16404 from jklymak/fix-add-base-symlognorm#16541

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

Conversation

tacaswell
Copy link
Member

FIX: add base kwarg to symlognor

Conflicts:
doc/api/next_api_changes/behaviour.rst
- moved to
doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst and re-worded.
lib/matplotlib/colors.py
- implicitly backported converting the docstring to numpy
doc style. Re-worded new docstring

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

FIX: add base kwarg to symlognorConflicts:doc/api/next_api_changes/behaviour.rst          - moved to            doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst and re-worded.lib/matplotlib/colors.py          - implicitly backported converting the docstring to numpy            doc style.  Re-worded new docstring
@tacaswelltacaswell added the Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labelFeb 16, 2020
@tacaswelltacaswell added this to thev3.2.0 milestoneFeb 16, 2020
@NelleV
Copy link
Member

If that's a backport, it be merged.

@tacaswell
Copy link
MemberAuthor

I changed the wording a bit so even though this is a backport, it should be reviewed as a normal PR.

Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

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

Since there are some changes, here are a few suggestions.

half of the linear range. For example, when *linscale* == 1.0
(the default), the space used for the positive and negative halves
of the linear range will be equal to a decade in the logarithmic
range if ``base=10``.
Copy link
Member

Choose a reason for hiding this comment

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

A small tweak (to the original) for the example sentence, but instead of "When x, then y, if z", it'd be better to put the conditions together as "When x and z, then y."

Comment on lines 1229 to 1230
If not given, defaults to ``np.e``, consistent with prior
behavior and warns.
Copy link
Member

Choose a reason for hiding this comment

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

The parenthetical is a bit confusing, perhaps:

Suggested change
Ifnotgiven,defaultsto``np.e``,consistentwithprior
behaviorandwarns.
Ifnotgiven,defaultsto``np.e`` (consistentwithpriorbehavior),andwarns.

tacaswelland others added3 commitsFebruary 18, 2020 20:32
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@jklymakjklymak merged commitbebc51a intomatplotlib:v3.2.xFeb 21, 2020
@jklymak
Copy link
Member

Should some of these suggestions be pulled forward into master?

@tacaswelltacaswell deleted the auto-backport-of-pr-16404-on-v3.2.x branchFebruary 25, 2020 06:39
@tacaswell
Copy link
MemberAuthor

@jklymak Yes, I'll take care of that when I merge 3.2.x up to master.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Milestone
v3.2.0
Development

Successfully merging this pull request may close these issues.

5 participants
@tacaswell@NelleV@jklymak@QuLogic@Kojoley

[8]ページ先頭

©2009-2025 Movatter.jp