Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Refactoring: fewer variables, slightly faster code #4226

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
merged 1 commit into from
Mar 16, 2015

Conversation

lebigot
Copy link
Contributor

@lebigot lebigot commented Mar 16, 2015

The previous code made me wonder why we had to use a variable that was used only once: I was wondering whether get_figlabels() had any side effect. Not only is the fact that this is not the case now explicit, but the code does not do any unnecessary call to get_figlabels() anymore.

See the discussion at 0346946#commitcomment-10206373.

The previous code made me wonder why we had to use a variable that was used only once: I was wondering whether `get_figlabels()` had any side effect. Not only is the fact that this is not the case now explicit, but the code does not do any unnecessary call to `get_figlabels()` anymore.
tacaswell added a commit that referenced this pull request Mar 16, 2015
MNT : fewer variables, slightly faster code in fignum_exist
@tacaswell tacaswell merged commit daa51ca into matplotlib:master Mar 16, 2015
@tacaswell
Copy link
Member

Thanks.

Should probably deprecate and rename that function too.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.