API Reference

External API

Plot

new Nyaplot.Plot(options)

Base class for general 2D plots.

Charts

new Nyaplot.Scatter(xarr, yarr, options)
new Nyaplot.Histogram(arr, options)
new Nyaplot.Line(xarr, yarr, options)

Internal API

These functions are only for developers.

Nyaplot.core

Nyaplot.core.register_parser(name, args, optional_args, parser)

Register parser. ex: stage2d

Nyaplot.glyph_manager

Nyaplot.glyph_manager.register_glyph(name, args, optional_args, parser)

Nyaplot.sheet_manager

Nyaplot.sheet_manager.register_sheet(name, args, optional_args, parser)