Fixing _get_standard_colors to honor num_colors arguments (#20585)
- [ ] closes #20585
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
