-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Merge 15x to 2x #5934
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
WeatherGod
merged 11 commits into
matplotlib:v2.x
from
jenshnielsen:merge15xto2xconflict
Jan 28, 2016
Merged
Merge 15x to 2x #5934
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f24d1bd
Remove reference to changelog from frontpage
jenshnielsen b7dfa4f
Merge pull request #5872 from jenshnielsen/sphinx134
tacaswell 6d4edf0
Merge pull request #5878 from jenshnielsen/removechangelog
tacaswell cd866e9
Merge pull request #5880 from zblz/fix-primes
mdboom a11fb24
DOC: add function name to deprecation warning
tacaswell dc3f061
Merge pull request #5915 from tacaswell/mnt_clarify_deprecation
jenshnielsen 0ea4ec9
Merge pull request #5910 from mdboom/image-read-from-url
WeatherGod 99ad89d
Merge pull request #5927 from WeatherGod/backport_5910
mdboom 9372533
Merge pull request #5620 from tacaswell/fix_quiverkey
efiring cb4e69f
Merge pull request #5932 from jenshnielsen/quiverbackport
WeatherGod b32900d
Merge remote-tracking branch 'matplotlib/v1.5.x' into merge15xto2xcon…
jenshnielsen 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
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
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
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
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
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
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 |
---|---|---|
|
@@ -228,7 +228,7 @@ class QuiverKey(martist.Artist): | |
""" Labelled arrow for use as a quiver plot scale key.""" | ||
halign = {'N': 'center', 'S': 'center', 'E': 'left', 'W': 'right'} | ||
valign = {'N': 'bottom', 'S': 'top', 'E': 'center', 'W': 'center'} | ||
pivot = {'N': 'mid', 'S': 'mid', 'E': 'tip', 'W': 'tail'} | ||
pivot = {'N': 'middle', 'S': 'middle', 'E': 'tip', 'W': 'tail'} | ||
|
||
def __init__(self, Q, X, Y, U, label, **kw): | ||
martist.Artist.__init__(self) | ||
|
@@ -708,6 +708,10 @@ def _h_arrows(self, length): | |
X = X - X[:, 3, np.newaxis] # numpy bug? using -= does not | ||
# work here unless we multiply | ||
# by a float first, as with 'mid'. | ||
elif self.pivot != 'tail': | ||
raise ValueError(("Quiver.pivot must have value in {{'middle', " | ||
"'tip', 'tail'}} not {}").format(self.pivot)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ooh, did I miss that in merging the backport? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, This is merging the backport that you did to 1.5.x back up to 2.x |
||
|
||
tooshort = length < self.minlength | ||
if tooshort.any(): | ||
# Use a heptagonal dot: | ||
|
Binary file modified
BIN
+4.31 KB
(180%)
lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_cm_31.pdf
Binary file not shown.
Binary file modified
BIN
+1.28 KB
(260%)
lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_cm_31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
+3.1 KB
(160%)
lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.pdf
Binary file not shown.
Binary file modified
BIN
+1.38 KB
(280%)
lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Just checking, was this brace formatting used in v1.5.x?
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.
Yes. This is a merge of 1.5.x to 2.x
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.
It's part of #5915
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.
Right, so the point is that
'{}'
can't be used in v1.5.x branch. Same thing with my comment about the backport I just merged into 1.5.x.