docs/userguide/graph_charts.py
branchpy33
changeset 3794 398ea04239b5
parent 3790 2d62ae94f4cb
child 4252 fe660f227cac
--- a/docs/userguide/graph_charts.py	Tue Nov 19 12:21:04 2013 +0000
+++ b/docs/userguide/graph_charts.py	Tue Nov 19 13:50:34 2013 +0000
@@ -900,7 +900,7 @@
 lc.width = 300
 lc.data = data
 lc.joinedLines = 1
-catNames = string.split('Jan Feb Mar Apr May Jun Jul Aug', ' ')
+catNames = 'Jan Feb Mar Apr May Jun Jul Aug'.split(' ')
 lc.categoryAxis.categoryNames = catNames
 lc.categoryAxis.labels.boxAnchor = 'n'
 lc.valueAxis.valueMin = 0
@@ -927,7 +927,7 @@
 lc.width = 300
 lc.data = data
 lc.joinedLines = 1
-catNames = string.split('Jan Feb Mar Apr May Jun Jul Aug', ' ')
+catNames = 'Jan Feb Mar Apr May Jun Jul Aug'.split(' ')
 lc.categoryAxis.categoryNames = catNames
 lc.categoryAxis.labels.boxAnchor = 'n'
 lc.valueAxis.valueMin = 0