-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Offset and scaling factors in axis format #4376 #6086
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
Closed
VincentVandalon
wants to merge
15
commits into
matplotlib:master
from
VincentVandalon:offsetAxisFormat-4376
Closed
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
137c7aa
Ticket 4376: Implemented functionality to let the user set an offset or
VincentVandalon ab1b3a2
Ticket 4376: Added more information in signature of the functions
VincentVandalon 4079e1a
Reformatted documentation of related function
VincentVandalon bfc7389
Fixed minor issue, default scaling did not use scaling factor
VincentVandalon 09f800c
Added functionality to manually set offset/scaling string
VincentVandalon 02f0a11
Made come more readable and more consistent with matplotlib defaults
VincentVandalon 5368336
Made code in ticker.py PEP8 compliant
VincentVandalon fee8ab9
Removed old test and changed code to respect rcParams
VincentVandalon 681820f
Changes multiplication sign from cdot to cross
VincentVandalon 66061ad
axis.formatter.useoffset is still honored, however, it is not directl…
VincentVandalon 53ed618
Allowed both multiplication and scaling again
VincentVandalon 4c86635
Updated test images to handle addtion of x sign in scaling factor of …
VincentVandalon 9ce9d3c
PEP8 issues
VincentVandalon 8d9d121
Minor improvements suggested by tacaswell
VincentVandalon 2737c5c
- Improved documentation with the suggestions of tacaswell.
VincentVandalon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
+423 Bytes
(110%)
lib/matplotlib/tests/baseline_images/test_axes/formatter_large_small.pdf
Binary file not shown.
Binary file modified
BIN
+800 Bytes
(100%)
lib/matplotlib/tests/baseline_images/test_axes/formatter_large_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
210 changes: 115 additions & 95 deletions
210
lib/matplotlib/tests/baseline_images/test_axes/formatter_large_small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+427 Bytes
(100%)
lib/matplotlib/tests/baseline_images/test_subplots/subplots_offset_text.pdf
Binary file not shown.
Binary file modified
BIN
+625 Bytes
(100%)
lib/matplotlib/tests/baseline_images/test_subplots/subplots_offset_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
514 changes: 268 additions & 246 deletions
514
lib/matplotlib/tests/baseline_images/test_subplots/subplots_offset_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?