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

plot_wafer(): color cycling stops after too many #26

Open
demisjohn opened this issue Feb 12, 2021 · 1 comment
Open

plot_wafer(): color cycling stops after too many #26

demisjohn opened this issue Feb 12, 2021 · 1 comment
Labels

Comments

@demisjohn
Copy link
Owner

demisjohn commented Feb 12, 2021

only cycles up to 18 colors, should continue ad infinitum:
Untitled 8

@fyodr
Copy link
Contributor

fyodr commented May 2, 2023

Resolved by adding modulus operator into the color selection.

color=cmap(i%len(cmap.colors))

I am still unsure why the cmap dd not automatically loop back around like I thought it would...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants