Discussion Overview
The discussion revolves around the issue of adding legends in ArrayPlot when there are 6 or more discrete entries. Participants explore the behavior of legends in relation to the number of entries and question whether there is a limitation or bug affecting the display of legends.
Discussion Character
- Technical explanation, Debate/contested
Main Points Raised
- One participant describes their attempt to add legends in ArrayPlot, noting that the legends work correctly for the first 5 graphs but become problematic for the 6th graph and beyond.
- Another participant suggests that there may be a maximum number of elements allowed in a legend, which they could not find documented, and proposes that the issue might be a bug.
- A similar point is reiterated by another participant, who notes that using non-numerical labels causes the legend to disappear when reaching 6 entries, further supporting the idea of a bug.
- There is a question raised about the relationship between PlotLegend and ChartLegends, with one participant observing that ChartLegends function correctly even with more than 5 entries.
- Another participant suggests submitting a bug report to Wolfram regarding the issue.
Areas of Agreement / Disagreement
Participants express uncertainty about whether there is a maximum number of elements in a legend and whether the observed behavior is a bug. There is no consensus on the relationship between PlotLegend and ChartLegends.
Contextual Notes
The discussion highlights potential limitations in the documentation regarding legend entries and the specific behavior of legends in ArrayPlot versus ChartLegends.