The human-readable name of a chart type, as the description dialog writes it.
A free function beside the map because two callers need it and only one of
them holds a trace: Figure.getSubplotSummaries names the layers of panels
the reader has not entered, and has nothing but their TraceType. The
map is declared Record<TraceType, string>, so every member has an entry and
a lookup cannot miss.
The human-readable name of a chart type, as the description dialog writes it.
A free function beside the map because two callers need it and only one of them holds a trace:
Figure.getSubplotSummariesnames the layers of panels the reader has not entered, and has nothing but their TraceType. The map is declaredRecord<TraceType, string>, so every member has an entry and a lookup cannot miss.