Skip to content

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.

4 participants