Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anntzer
Copy link
Contributor

@anntzer anntzer commented Mar 16, 2020

In transforms.py, array() is faster -- the changes speeds up the
proposed precision-sensitive version of format_data_short (#16776) by ~10%
(essentially because we get to skip the calls to np.atleast_2d in
vstack).

Also replace a vstack() call by a concatenate() in path.py, while we're
at it.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 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

In transforms.py, array() is faster -- the changes speeds up the
proposed precision-sensitive version of format_data_short by ~10%
(essentially because we get to skip the calls to np.atleast_2d in
vstack).

Also replace a vstack() call by a concatenate() in path.py, while we're
at it.
@anntzer anntzer added this to the v3.3.0 milestone Mar 16, 2020
@jklymak jklymak merged commit 76ddc2d into matplotlib:master Mar 16, 2020
@anntzer anntzer deleted the unvstack branch March 16, 2020 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants