X Tutup
Skip to content

Alternate implementation of lazy ticks.#10302

Merged
timhoffm merged 1 commit intomatplotlib:masterfrom
anntzer:lazyticks
Jan 24, 2018
Merged

Alternate implementation of lazy ticks.#10302
timhoffm merged 1 commit intomatplotlib:masterfrom
anntzer:lazyticks

Conversation

@anntzer
Copy link
Copy Markdown
Contributor

@anntzer anntzer commented Jan 23, 2018

Speeds up creation of 10x10 subplots ~4-fold (from 2.7s to 0.7s for me).

I think this is closer than #9727 to being backcompatible, and also simpler if you understand how descriptors work. attn @timhoffm, obviously the credits of the idea go to him.

Milestoned to 2.2 to match #9727.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer added this to the v2.2 milestone Jan 23, 2018
@anntzer anntzer force-pushed the lazyticks branch 2 times, most recently from e2c7538 to ce2ddee Compare January 24, 2018 01:31
@jklymak jklymak added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Jan 24, 2018
@jklymak
Copy link
Copy Markdown
Member

jklymak commented Jan 24, 2018

I'm not going to merge in case @efiring or @tacaswell want to have a look....

@jklymak
Copy link
Copy Markdown
Member

jklymak commented Jan 24, 2018

ooops, now there is a conflict. Probably w/ the other tick change?

Speeds up creation of 10x10 subplots ~4-fold (from 2.7s to 0.7s).
@anntzer
Copy link
Copy Markdown
Contributor Author

anntzer commented Jan 24, 2018

rebased

@timhoffm timhoffm merged commit f3760b2 into matplotlib:master Jan 24, 2018
@anntzer anntzer deleted the lazyticks branch January 24, 2018 21:59
@anntzer
Copy link
Copy Markdown
Contributor Author

anntzer commented Jan 24, 2018

@timhoffm congrats on getting your commit bit, btw

@jklymak
Copy link
Copy Markdown
Member

jklymak commented Jan 24, 2018

@timhoffm Yes, welcome!

Though I think out of an abundance of caution we make sure (most of) the tests pass before committing 😉 Maybe OK in this case, as the pre-rebase passed, but...

@timhoffm
Copy link
Copy Markdown
Member

Thanks. @jklymak also thanks for the advice. I will wait next time.

@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup