Message Boards Message Boards

0
|
121 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Question on DateListPlot of associations

Posted 14 days ago

If I have an association of named time series such as a=<| "name1" -> ts1, "name2" -> ts2, .... |> . DateListPlot[a] in Mathematica 12.1 would draw all time series in one plot using the keys as legends, which seemed logical and powerful.
Version 14.1 doesn't do that and produces an error that the argument is not a valid dataset. Why has this changed and does anyone know how to replicate the 12.1 behavior?

UPDATE: Obviously DateListPlot[Values@a, PlotLegends -> Keys@a] will do it. But I still wonder why (probably because of some arcane semantic consistency) a smart feature got deleted.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract