Skip to content
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

ENH: make Cycler callable to return infinite cycle #3

Merged
merged 1 commit into from
Jul 11, 2015

Conversation

tacaswell
Copy link
Member

Following in the tradition of generators and co-routines, to get an infinite cycle call the Cycler object.

Closes #2

Following in the tradition of generators and co-routines, to get an
infinite cycle call the `Cycler` object.
@tacaswell
Copy link
Member Author

@OceanWolf @efiring Thoughts on this?

@tacaswell tacaswell added this to the v1.0 milestone Jul 11, 2015
@WeatherGod
Copy link
Member

looks right to me. It was going to be needed for color/linestyle/marker-cycling, anyway, right?

@efiring
Copy link
Member

efiring commented Jul 11, 2015

Yes, using __call__ this way looks right.

WeatherGod added a commit that referenced this pull request Jul 11, 2015
ENH: make Cycler callable to return infinite cycle
@WeatherGod WeatherGod merged commit 327de50 into matplotlib:master Jul 11, 2015
@tacaswell tacaswell deleted the enh_call_cycle branch July 11, 2015 15:15
@QuLogic QuLogic removed this from the v0.11 milestone Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants