Movatterモバイル変換


[0]ホーム

URL:


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

Support sharing cycler instances across axes #19479

Open
@anntzer

Description

@anntzer

Problem

It would be useful to be able to share a single cycler instance across multiple axes, so that plotting on one axes advances the same instance on all of them.

Proposed Solution

cycler = <some cycler instance>ax1.set_prop_cycle(cycler)ax2.set_prop_cycle(cycler)

should use the same cycler instance. Alternatively, if this is deemed unacceptable due to backcompat breakage (even though I believe this can get a proper deprecation warning), one should at least be able to do e.g.

cycler = <some cycler instance>it = iter(cycler)  # or it = cycler.iter(), or whatnotax1.set_prop_cycle(it)ax2.set_prop_cycle(it)

which has no backcompat concerns as set_prop_cycle(single_arg) currently requires single_arg to be exactly a Cycler instance.

Additional context and prior art

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp