MCPcopy Index your code
hub / github.com/gonum/plot / NewLegend

Function NewLegend

legend.go:80–82  ·  view source on GitHub ↗

NewLegend returns a legend with the default parameter settings.

()

Source from the content-addressed store, hash-verified

78
79// NewLegend returns a legend with the default parameter settings.
80func NewLegend() Legend {
81 return newLegend(DefaultTextHandler)
82}
83
84func newLegend(hdlr text.Handler) Legend {
85 return Legend{

Callers 2

ExampleLegend_standaloneFunction · 0.92
ExampleHeatMapFunction · 0.92

Calls 1

newLegendFunction · 0.85

Tested by 2

ExampleLegend_standaloneFunction · 0.74
ExampleHeatMapFunction · 0.74