Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enh tail #39

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

Open
tacaswell wants to merge 2 commits into matplotlib:main
base: main
Choose a base branch
Loading
from tacaswell:enh_tail
Open

Enh tail #39

tacaswell wants to merge 2 commits into matplotlib:main from tacaswell:enh_tail

Conversation

@tacaswell
Copy link
Member

@tacaswell tacaswell commented Jun 5, 2016

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)

tacaswell added 2 commits June 4, 2016 19:31
 - 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
Copy link
Contributor

I lean toward preferring this as a documented example.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.0

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /