-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
changed inherited Axes calls to super #8486
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
Conversation
oops Regexp was incorrect, modified and force pushed new branch with corrected version. |
lib/mpl_toolkits/mplot3d/axes3d.py
Outdated
@@ -95,11 +95,11 @@ def __init__(self, fig, rect=None, *args, **kwargs): | |||
self._shared_z_axes.join(self, sharez) | |||
self._adjustable = 'datalim' | |||
|
|||
Axes.__init__(self, fig, rect, | |||
super(Axes3D, self).__init__(fig, rect, |
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.
fix indent
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.
thanks!
Any idea why Travis is failing in python 2.7?
|
@OceanWolf I forgot to ping you on this |
The mixed subplot test is know to be flaky, but we have not tracked down why yet. I suspect this conflicts with your other PR that just got merged. |
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.
modulo a rebase to fix conflicts.
yeah, that's right (moved cla() earlier on). rebased (and changed the long title...) |
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.
Are you able rebase and squash some of these commits together? Also, somehow, your commits' author and committer information don't seem to be in sync.
lib/mpl_toolkits/mplot3d/axes3d.py
Outdated
|
||
def _get_axis_list(self): | ||
return super(Axes3D, self)._get_axis_list() + (self.zaxis, ) | ||
|
||
|
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.
Extra line.
squashed. but author is a different email. i'll have to do that a little later. |
vim regexp : %s;Axes..*(self, *;super(Axes3D, self).;g followed by %s;Axes.\(.*\)(self *;super(Axes3D, self).\1(;g and some typo fixes removed extra line
fixed. On one machine I was working on, I had an old email as author. Thanks for catching this subtle but important detail @QuLogic |
Travis failed on py3.6. Do you know if this is a flakey test? |
Yes that test measures performance and can fail do to travis workload |
Changed Axes bound method calls using super.
Just one command:
vim regexp:
%s;Axes\.\(.*\)(self, ;super(Axes3D, self).\1(;g
followed by:
%s;Axes.\(.\)(self *;super(Axes3D, self).\1(;g
This came form #8455 . Did not have time to test, waiting for Travis.
PR Summary
PR Checklist