[
https://issues.apache.org/jira/browse/CLIMATE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020476#comment-14020476
]
ASF GitHub Bot commented on CLIMATE-466:
----------------------------------------
Github user agoodm commented on the pull request:
https://github.com/apache/climate/pull/67#issuecomment-45391101
Hi Mazi,
I don't think there is a reason to assume that the values will never be
negative. I recommend implementing the change I suggested anyway since it is
very simple and gives the same result when the minimum is negative and the
maximum is positive.
> Plotter need better configuration for generating color bar
> ----------------------------------------------------------
>
> Key: CLIMATE-466
> URL: https://issues.apache.org/jira/browse/CLIMATE-466
> Project: Apache Open Climate Workbench
> Issue Type: Improvement
> Components: visualization
> Affects Versions: 0.3-incubating
> Reporter: Maziyar Boustani
> Assignee: Maziyar Boustani
> Fix For: 0.4
>
>
> In plotter.py function "_nice_intervals" need to understand the range of
> values in different cases and be able to make a correct color bar for plot.
> If the values all are above 0 then make color bar starts from min to max.
> But if the values are between negative and positive then always keep 0 in
> center of color bar.
--
This message was sent by Atlassian JIRA
(v6.2#6252)