projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for IPv6 has been broken with revision 1522: Because IPv6-addresses
[rrdtool.git]
/
doc
/
rrdpython.pod
diff --git
a/doc/rrdpython.pod
b/doc/rrdpython.pod
index
2d63426
..
d504deb
100644
(file)
--- a/
doc/rrdpython.pod
+++ b/
doc/rrdpython.pod
@@
-18,6
+18,7
@@
to the other B<rrdtool> documentation for functions and valid arguments.
=head1 EXAMPLE
=head1 EXAMPLE
+ import sys
sys.path.append('/path/to/rrdtool/lib/python2.3/site-packages/')
import rrdtool, tempfile
sys.path.append('/path/to/rrdtool/lib/python2.3/site-packages/')
import rrdtool, tempfile
@@
-25,7
+26,7
@@
to the other B<rrdtool> documentation for functions and valid arguments.
YEAR = 365 * DAY
fd,path = tempfile.mkstemp('.png')
YEAR = 365 * DAY
fd,path = tempfile.mkstemp('.png')
- rrdtool.graph(path,
+ rrdtool.graph(path,
'--imgformat', 'PNG',
'--width', '540',
'--height', '100',
'--imgformat', 'PNG',
'--width', '540',
'--height', '100',