-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
support 'markevery' in prop_cycle #8576
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
Comments
Same problem. |
The issue is that validate the keys in cycler with a white list (see https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/rcsetup.py#L716 ). The simplest fix is to just extend that to also include markevery, but I am slightly concerned about un-intended consequences. Exact work:
|
Is markevery an artist property? If so, then it should be made into a valid
argument to the property cycler. If not, then adding support for it is very
tricky.
…On Sun, May 7, 2017 at 3:29 PM, Thomas A Caswell ***@***.***> wrote:
The issue is that validate the keys in cycler with a white list (see
https://github.com/matplotlib/matplotlib/blob/master/lib/
matplotlib/rcsetup.py#L716 ). The simplest fix is to just extend that to
also include markevery, but I am slightly concerned about un-intended
consequences.
Exact work:
- add markevery + validator to rcsetup
- add test of using markevery in the property cycle
- add whats-new entry
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8576 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-MQBrtaaeqKvT8i8pEQJ31jCUpecks5r3huhgaJpZM4NRh2G>
.
|
@WeatherGod I believe it is also a good idea to directly allow |
@tacaswell Hey Thomas, sorry for being so slow on this, but this new validate_markevery method I'm about to PR should enable the full API of lines.set_markevery for the 'axes.prop_cycle' parameter of rcParams, as opposed to restricting assignments to any of the pre-existing validators. If you want to use the example, just lemme know what I need to do to get it into the documentation. Was a pleasure coding with you last weekend! Cheers :) |
@RavingMadScientist What is the state of this? |
Implemented by #10713 |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
Key axes.prop_cycle: Unknown artist properties: {'markevery'}
Code for reproduction
Actual outcome
Expected outcome
Default markevery cycle.
Matplotlib version
No error for matplotlib 1.5
The text was updated successfully, but these errors were encountered: