[ 
https://issues.apache.org/jira/browse/CLIMATE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312181#comment-16312181
 ] 

ASF GitHub Bot commented on CLIMATE-230:
----------------------------------------

GitHub user MichaelArthurAnderson opened a pull request:

    https://github.com/apache/climate/pull/481

    CLIMATE-230 Line colors in time series cycles through too few colors

    CLIMATE-230 Line colors in time series cycles through too few colors
    
    - Add option to time_series to specify color map.
    - Add option to time_series to slice the color map by the number of plots 
to prevent using the same color more than once.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MichaelArthurAnderson/climate CLIMATE-230

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/climate/pull/481.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #481
    
----
commit 96ac07df4cec047adccf7a31e0fce82b634ce7e1
Author: Michael Anderson <michaelanderson@...>
Date:   2018-01-04T23:22:02Z

    CLIMATE-230 Line colors in time series cycles through too few colors

----


> Line colors in time series cycles through too few colors
> --------------------------------------------------------
>
>                 Key: CLIMATE-230
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-230
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>          Components: visualization
>    Affects Versions: 0.2-incubating
>            Reporter: Alex Goodman
>            Assignee: Michael Anderson
>             Fix For: 1.3.0
>
>
> For 2D line plots (time series) in matplotlib, default colors for each line 
> are cycled through a default list of colors if no color is specified in the 
> plotting call. However this list contains only seven colors, so colors will 
> be repeated if there are eight or more datasets, making the plots more 
> difficult to interpret. Unique colors will need to be assured for an 
> arbitrary number of datasets.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to