Skip to content

ENH: Add warning for SymLogScale when values in linear scale range - #24555

Merged
tacaswell merged 4 commits into
matplotlib:mainfrom
parthpankajtiwary:symlog-warn
Nov 28, 2022
Merged

ENH: Add warning for SymLogScale when values in linear scale range#24555
tacaswell merged 4 commits into
matplotlib:mainfrom
parthpankajtiwary:symlog-warn

Conversation

@parthpankajtiwary

Copy link
Copy Markdown
Contributor

PR Summary

The pull request addresses a need for generating a warning when a SymLogScale receives values that are all in the linear regime. The PR includes a baseline implementation as discussed in #24550. Some optional enhancements are in consideration.

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

Comment thread lib/matplotlib/tests/test_scale.py Outdated
Comment thread lib/matplotlib/tests/test_scale.py Outdated
Comment thread lib/matplotlib/tests/test_scale.py Outdated
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
@tacaswell tacaswell added this to the v3.7.0 milestone Nov 28, 2022
@tacaswell
tacaswell merged commit 041d4e0 into matplotlib:main Nov 28, 2022
@tacaswell

Copy link
Copy Markdown
Member

Thank you @parthpankajtiwary and congratulations on your first merged Matplotlib PR 🎉 I hope we hear from you again.

@parthpankajtiwary
parthpankajtiwary deleted the symlog-warn branch November 28, 2022 15:18
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request Jun 14, 2023
…mlog-warn"

This reverts commit 041d4e0, reversing
changes made to fbfa28d.

Closes matplotlib#26118
QuLogic added a commit that referenced this pull request Jun 15, 2023
Revert "Merge pull request #24555 from parthpankajtiwary/symlog-warn"
melissawm pushed a commit to melissawm/matplotlib that referenced this pull request Jun 15, 2023
…mlog-warn"

This reverts commit 041d4e0, reversing
changes made to fbfa28d.

Closes matplotlib#26118
QuLogic added a commit to QuLogic/matplotlib that referenced this pull request Jun 29, 2023
QuLogic added a commit that referenced this pull request Jun 29, 2023
…3.7.x

Backport PR #26126 on branch v3.7.x (Revert "Merge pull request #24555 from parthpankajtiwary/symlog-warn")
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.

3 participants