MCPcopy Create free account
hub / github.com/gonum/plot / Thumbnail

Method Thumbnail

legend.go:76–76  ·  view source on GitHub ↗

Thumbnail draws an thumbnail representing a legend entry. The thumbnail will usually show a smaller representation of the style used to plot the corresponding data.

(c *draw.Canvas)

Source from the content-addressed store, hash-verified

74 // a smaller representation of the style used
75 // to plot the corresponding data.
76 Thumbnail(c *draw.Canvas)
77}
78
79// NewLegend returns a legend with the default parameter settings.

Callers 1

DrawMethod · 0.65

Implementers 9

exampleThumbnailerlegend_example_test.go
Lineplotter/line.go
sankeyFlowThumbnailerplotter/sankey.go
BarChartplotter/barchart.go
Polygonplotter/polygon.go
Scatterplotter/scatter.go
Histogramplotter/histogram.go
Functionplotter/functions.go
paletteThumbnailerplotter/palettethumbnailer.go

Calls

no outgoing calls

Tested by

no test coverage detected