Crate poloto[][src]

Expand description

poloto - plot to SVG and style with CSS

Usage

Check out the github examples.

  • Plots containing NaN or Infinity are ignored.
  • After 8 plots, the colors cycle back and are repeated.

Re-exports

pub use tagger;

Modules

Contains building blocks for create the default svg an styling tags from scratch.

The poloto prelude.

Macros

Shorthand for moveable_format(move |w|write!(w,...)) Similar to format_args!() except has a more flexible lifetime.

Structs

Keeps track of plots. User supplies iterators that will be iterated on when render is called.

Constants

Default theme using css variables (with light theme defaults if the variables are not set).

Default dark theme

Default light theme

Traits

Used internally to write out the header/title/xname/yname.

Functions

Convert a moved closure into a impl fmt::Display. This is useful because std’s format_args!() macro has a shorter lifetime.

Convenience function for plot_with_html(title,xnam,yname,HTML_CONFIG_LIGHT_DEFAULT)

Create a Plotter with the specified title,xname,yname, and custom html Consider using some of the default html tags.