-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC : move MEP15
- Loading branch information
commit c2cbbc94a38c6f850ae1ede3fae9ed916083cc10
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
========================================================================== | ||
MEP15 - Fix axis autoscaling when limits are specified for one axis only | ||
========================================================================== | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Status | ||
====== | ||
|
||
**Discussion** | ||
|
||
Branches and Pull requests | ||
========================== | ||
|
||
None so far. | ||
|
||
Abstract | ||
======== | ||
|
||
When one axis of a 2-dimensional plot if overridden via `xlim` or `ylim`, | ||
automatic scaling of the remaining axis should be based on the data that falls | ||
within the specified limits of the first axis. | ||
|
||
Detailed description | ||
==================== | ||
|
||
When axis limits for a 2-D plot are specified for one axis only (via `xlim` or | ||
`ylim`), matplotlib currently does not currently rescale the other axis. The | ||
result is that the displayed curves or symbols may be compressed into a tiny | ||
portion of the available area, so that the final plot conveys much less | ||
information than it would with appropriate axis scaling. An example of such a | ||
plot can be found at the following URL: | ||
|
||
http://phillipmfeldman.org/Python/MEP15.png | ||
|
||
The proposed change of behavior would make matplotlib choose the scale for the | ||
remaining axis using only the data that falls within the limits for the axis | ||
where limits were specified. | ||
|
||
Implementation | ||
============== | ||
|
||
I don't know enough about the internals of matplotlib to be able to suggest an | ||
implementation. | ||
|
||
Backward compatibility | ||
====================== | ||
|
||
From the standpoint of software interfaces, there would be no break in | ||
backward compatibility. Some outputs would be different, but if the user | ||
truly desires the previous behavior, he/she can achieve this by overriding | ||
the axis scaling for both axes. | ||
|
||
Alternatives | ||
============ | ||
|
||
The only alternative that I can see is to maintain the status quo. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ Matplotlib Enhancement Proposals | |
MEP12 | ||
MEP13 | ||
MEP14 | ||
MEP15 | ||
MEP25 |
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.
Massive MEP move #4293
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
Uh oh!
There was an error while loading. Please reload this page.
Massive MEP move #4293
Changes from 1 commit
5e2efdd
e67f8d1
7103985
579ecb8
9bfedc8
f7b8db1
c2cbbc9
e07dc2d
7884afc
f5f0c2c
1e07323
30c1da6
06a0e8e
34263c1
f5bb16b
292a9a2
a295d54
f4b589b
936c80a
1d140eb
5839ab2
e680cd2
dac8293
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.