@Test
public void plot() {

    PlotOptions options = new PlotOptions(1, 1);
    Plot plot = new Plot(options);
    plot.initBounds(1);
    assertNull(plot.canvas);
    Canvas canvas = new Canvas();
    plot.setCanvas(canvas);
    assertNotNull(plot.canvas);
}