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

Fix default markers #38

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

malmans2
Copy link

@malmans2 malmans2 commented Apr 5, 2023

Close #37

Here is a PR with a solution for #37.
Feel free to close this if it's not the right solution!

@malmans2
Copy link
Author

malmans2 commented Apr 5, 2023

Part of the issue was that color "gray" can not be used.
Looks like matplotlib string color+marker only accepts single letters (i.e., matplotlib.colors.BASE_COLORS).

While I was looking at it I made a few changes:

  1. colors and markers are now controlled by global variables, it should make it easier for users to change them
  2. Combinations of marker-colors are repeated if needed (but a warning is raised when that happens)

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.

Error when many marker/colors are needed
1 participant