5
$\begingroup$

Bug introduced in 10.2 or earlier and fixed in 11.0.1


Simple Code:

DateListPlot[<|
  "A44" -> {{{1992, 12, 1}, 1}, {{1992, 12, 2}, 2}, {{1992, 12, 3}, 
     3}}, "A45" -> {{{1992, 12, 1}, 4}, {{1992, 12, 2}, 
     5}, {{1992, 12, 3}, 6}}|>]

But Mathematica tells me it is not a valid dataset or list of datasets.

However, if I change "A44" and "A45" to "A4" and "A5", the plot is correct.

Any fixes?

$\endgroup$
  • 2
    $\begingroup$ It appears as if the key is of the form "a__dd__" DateListPlot will fail. i.e. any alpha sequence followed by at least two digits. $\endgroup$ – JJM Aug 22 '16 at 20:26
  • $\begingroup$ This has been reported as a bug. $\endgroup$ – JJM Aug 22 '16 at 20:51
2
$\begingroup$

This is fixed on 11.0.1.

DateListPlot[<|
 "A44" -> {{{1992, 12, 1}, 1}, {{1992, 12, 2}, 2}, {{1992, 12, 3}, 3}}, 
 "A45" -> {{{1992, 12, 1}, 4}, {{1992, 12, 2}, 5}, {{1992, 12, 3}, 6}}|>]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.