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

MNT: trap inappropriate use of color kwarg in scatter; closes #6266 #6267

Merged
merged 1 commit into from Apr 8, 2016

Commits on Apr 8, 2016

  1. MNT: trap inappropriate use of color kwarg in scatter; closes matplot…

    …lib#6266
    
    This slightly modifies and extends the special-casing of color-related
    kwargs that would otherwise be passed in to a Collection instance.
    Attempts to use 'color' in place of the 'c' kwarg for color-mapping
    in scatter are now trapped with a ValueError in most cases.  There
    are still cases that are impossible to trap: a sequence of 3 or 4
    floats between 0 and 1 could be either a single color spec or a
    sequence of values to be color-mapped.
    efiring committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    d28c02e View commit details
    Browse the repository at this point in the history