-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Code style cleanup #16044
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
Code style cleanup #16044
Conversation
|
||
@property | ||
def v_interval(self): | ||
return self.get_view_interval() | ||
|
||
@d_interval.setter |
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.
This was actually a bug.
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.
Would love to have a test for this...
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.
We should actually just deprecate them, as they are just mplot3d-specific synonyms for {get,set}_{view,data}_interval...
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.
Moved to a separate PR #16053.
e7e490e
to
46949af
Compare
46949af
to
fca65ed
Compare
PR Summary
if myvar:
instead ofif myvar != []: