Skip to content

Inconsistent eager vs delayed resolution of Cn in plot() #12967

@anntzer

Description

@anntzer
from pylab import *

plt.plot([1, 2], "C0")
plt.plot([2, 3], c="C0")
rcParams["axes.prop_cycle"] = cycler(color=["r", "g", "b"])
show()

test

The first call to plot() resolves the color eagerly, the second one resolves it lazily (which I think is the intended behavior).

mpl master (~3.0.x)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy