print_svg

package
v0.0.0-...-1048ca3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WIDTH             = 640
	HEIGHT            = 480
	PADDING           = 4
	BORDER_COLOR      = "#000"
	TITLE_COLOR       = "#000"
	TITLE_SIZE        = 24
	TITLE_PADDING     = 8
	AXIS_COLOR        = "#222"
	AXIS_PADDING      = 16
	TICK_SIZE         = 8
	ARG_TICK_COUNT    = 5
	VAL_TICK_COUNT    = 5
	LABEL_COLOR       = "#000"
	LABEL_OFFSET      = 4
	LABEL_SIZE        = 16
	ARG_LABEL_PADDING = LABEL_SIZE
	VAL_LABEL_PADDING = 2 * LABEL_SIZE
	POINT_COLOR       = "#00F"
	POINT_SIZE        = 4
)

Variables

This section is empty.

Functions

func Print

func Print(probs probabilities.Probabilities, title string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL