A proposed new feature
References:
A lines plot with varying line widths, legend with color-boxes
New feature: SetLegendUseShapes(True), when used with a line plot, displays line segments with the and color and width used inside the plot. It also makes the color boxes 4x wider to make room for the lines.
When there is a plot background color, the legend color boxes display that too.
For comparison, here is the same data with a linepoints plot. In this case the same function SetLegendUseShapes(True) makes the legend show point markers.
If the plotted lines use line styles (dashed lines), the legend will show those dashed lines. This feature does not play well with line widths > 1, though.
Notes:
Discussion: Make Legend colorbox border optional
Discussion: Make Legend colorbox border optional
Discussion: Make Legend colorbox border optional
Discussion: Make Legend colorbox border optional
Feature Requests: #51