Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Properly position markers in step plots.#11407

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 1 commit intomatplotlib:masterfromanntzer:step-markers
Jun 10, 2018

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedJun 10, 2018
edited by timhoffm
Loading

Closes#11031.

While it may appear costly to recache the path at every draw, this only
occurs when using step plots with markers (a relatively rare case) and
is still better than before the bug was introduced (#6497), when step plots used
to need to be recomputed at every draw, regardless of whether markers
are present.

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

While it may appear costly to recache the path at every draw, this onlyoccurs when using step plots with markers (a relatively rare case) andis still better than before the bug was introduced, when step plots usedto need to be recomputed at every draw, regardless of whether markersare present.
@tacaswelltacaswell added this to thev2.2.3 milestoneJun 10, 2018
@tacaswelltacaswell merged commit0d2c436 intomatplotlib:masterJun 10, 2018
@lumberbot-app
Copy link

There seem to be a conflict, please backport manually

@anntzeranntzer deleted the step-markers branchJune 10, 2018 21:00
tacaswell added a commit to tacaswell/matplotlib that referenced this pull requestAug 4, 2018
FIX: Properly position markers in step plots.Conflicts:lib/matplotlib/tests/test_lines.py          - conflict due to adding imports around (removed on master)            __future__ and six
tacaswell pushed a commit to tacaswell/matplotlib that referenced this pull requestAug 5, 2018
This context manager was added to master in690b213 viamatplotlib#10314.  We do not wantto backport that entire commit, however the backport ofmatplotlib#11407requires this context manger.It is private and self contained to low-risk to backport
@tacaswell
Copy link
Member

backported to v2.2.x as6133a7d

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.2.3
Development

Successfully merging this pull request may close these issues.

wrong x-position of marker with drawstyle='steps-xxx'
3 participants
@anntzer@tacaswell@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp