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 tail #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Enh tail #39

wants to merge 2 commits into from

Conversation

tacaswell
Copy link
Member

Only look at the second commit.

This is mostly for discussion. As with #38 this is a useful function, but not sure it is useful enough / has a 'correct' enough API to be worth shipping with the package and they can instead (continue to) live as examples in the documentation (as with https://docs.python.org/3.5/library/itertools.html#itertools-recipes)

 - also start using codecov
Add a generator function to add an infinite 'tail' onto a cycler.

Closes matplotlib#30
@tacaswell tacaswell added this to the v1.0 milestone Jun 5, 2016
@tacaswell tacaswell closed this Jun 6, 2016
@tacaswell tacaswell reopened this Jun 6, 2016
@danielballan
Copy link
Contributor

I lean toward preferring this as a documented example.

@WeatherGod
Copy link
Member

ditto. Plus, I am not so keen on the idea of having to specify a dictionary to be the tail. If you have the dictionary, then why not just chain the cycler and a cycle of that dictionary together? If I want my cycler to have a long tail, then I would likely want its last element to be the tail item.

@QuLogic QuLogic modified the milestones: v0.10, v1.0 Oct 25, 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