File: test-no-plot

package info (click to toggle)
python-gnuplot 1.8-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,272 kB
  • sloc: python: 2,042; makefile: 6
file content (15 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python3

import sys
import Gnuplot
import Gnuplot.PlotItems
import Gnuplot.funcutils

def main():
    Gnuplot.Func('sin(x)')
    g = Gnuplot.Gnuplot(debug=1)
    g.title('Title')
    g.xlabel('x')
    g.ylabel('y')

sys.exit(main())