You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Alex Goodman (JIRA)" <ji...@apache.org> on 2017/02/22 21:49:44 UTC

[jira] [Created] (CLIMATE-895) Make plotter compatible with matplotlib 2.0

Alex Goodman created CLIMATE-895:
------------------------------------

             Summary: Make plotter compatible with matplotlib 2.0
                 Key: CLIMATE-895
                 URL: https://issues.apache.org/jira/browse/CLIMATE-895
             Project: Apache Open Climate Workbench
          Issue Type: Bug
          Components: visualization
    Affects Versions: 1.1.0
            Reporter: Alex Goodman
            Assignee: Alex Goodman
            Priority: Blocker
             Fix For: 1.2.0


Reported on the mailing list:

{code}
$ ./test.sh
...

======================================================================
FAIL: test_odd_nice_intervals
(ocw.tests.test_plotter.TestNiceIntervalsFunction)
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"/home/toddg/projects/climate/climate/ocw/tests/test_plotter.py", line
46, in test_odd_nice_intervals
     np.testing.assert_array_equal(result, expected_array)
   File
"/opt/anaconda3/envs/python27/lib/python2.7/site-packages/numpy/testing/utils.py",
line 871, in assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File
"/opt/anaconda3/envs/python27/lib/python2.7/site-packages/numpy/testing/utils.py",
line 796, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Arrays are not equal

(mismatch 80.0%)
  x: array([-1.6, -0.8,  0. ,  0.8,  1.6])
  y: array([-2., -1.,  0.,  1.,  2.])

----------------------------------------------------------------------
Ran 206 tests in 126.232s

FAILED (failures=1)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)