Skip to content

How do i add a background to the image being plotted? #11

Description

@vinaymcp

Hello,

I like to add a black background to my below code and the chart lines in white, how do i achieve it ?

plot({
data: [ 3, 1, 2, 3, 4 ],
filename: 'output2.png',
style: 'linespoints',
title: 'Example 'Title', \n runs onto multiple lines',
logscale: true,
xlabel: 'time',
ylabel: 'length of string',
format: 'png'
});

Kindly advice.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions