-
-
Notifications
You must be signed in to change notification settings - Fork 8k
DOC: Code from markevery_prop_cycle moved to test. #21871
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I've added some suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good!
One final thing, please delete examples/lines_bars_and_markers/markevery_prop_cycle.py
.
We reference the example from the whats new
/home/circleci/project/doc/users/prev_whats_new/whats_new_3.0.rst:110: WARNING: unknown document: /gallery/lines_bars_and_markers/markevery_prop_cycle
I suspect the best solution here is to edit the (old) whats new to remove the reference.
Thanks @tacaswell, deleted the reference in /doc/users/prev_whats_new/whats_new_3.0.rst
.
Thanks @ojeda-e, and congratulations on your first contribution to Matplotlib! We'd be happy to see you back!
PR Summary
Fixes #21863
Code from markevery_prop_cycle moved to unit test in
test_lines.py
. The new unit test,test_markevery_prop_cycle
, uses@check_figures_equal
as suggested by @timhoffm.To make the unit test more readable and shorter I added.
Thanks!
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).