Opened 12 months ago

#23506 new defect

Histogram breaks with non-sensical error message on lists of unequal lengths.

Reported by: jsrn Owned by:
Priority: major Milestone: sage-8.1
Component: statistics Keywords: plot
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: histogram([ [1,2,3] , [1,1,2] ])
Launched png viewer for Graphics object consisting of 1 graphics primitive

sage: histogram([ [1,2,3] , [1,1,2,3] ])
--------------------------------------------------------------------------- Traceback (most recent call last)
...
ValueError: setting an array element with a sequence.

Change History (0)

Note: See TracTickets for help on using tickets.