Skip to content

Accept same types to errorevery as markevery#18556

Merged
tacaswell merged 2 commits into
matplotlib:masterfrom
QuLogic:errorevery
Sep 25, 2020
Merged

Accept same types to errorevery as markevery#18556
tacaswell merged 2 commits into
matplotlib:masterfrom
QuLogic:errorevery

Conversation

@QuLogic

@QuLogic QuLogic commented Sep 24, 2020

Copy link
Copy Markdown
Member

PR Summary

I did not add support for floating-point step sizes though, as errorbars are not continuous.

This also fixes a bug where passing markevery would crash, introduced in #17930, when the property dictionaries were changed around.

I haven't implemented for 3D, but will do that with #18436.

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and pydocstyle<4 and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

That argument is applied to the line, but errorbar masking is determined
by *errorevery* (as actual masks), so *markevery* should not be
propagated.
Though it doesn't accept real input for display-space, as errorbar is
not continuous.

Fixes matplotlib#4438.
@QuLogic QuLogic added New feature API: consistency Consistency of the matplotlib API, including naming, behavior, defaults, … labels Sep 24, 2020
@QuLogic QuLogic added this to the v3.4.0 milestone Sep 24, 2020
@tacaswell tacaswell merged commit 371b9ab into matplotlib:master Sep 25, 2020
@QuLogic QuLogic deleted the errorevery branch September 25, 2020 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: consistency Consistency of the matplotlib API, including naming, behavior, defaults, … New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants