This file is indexed.

/usr/share/doc/python-pychart-doc/examples/tocsturbo.py is in python-pychart-doc 1.39-7.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Copyright (C) 2000-2005 by Yasushi Saito (yasushi.saito@gmail.com)
# 
# Pychart is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.
#
# Pychart is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
from pychart import *
import tocslib

def create_line_plot(label, ycol):
    return line_plot.T(label=label,
                      tick_mark=tocslib.get_tick_mark(label),
                      line_style=tocslib.get_line_style(label),
                      data=data, ycol=ycol)

def create_graph(data):
    ar = area.T(size=(tocslib.width, tocslib.height),
                x_range = (1,3),
                x_axis = axis.X(label="/bNumber of nodes with fast disks"),
                y_axis = axis.Y(label="/bIncrease in\nMessages//second", 
                                label_offset=(tocslib.xlabel_offset, None)),
                legend=legend.T())
    
    ar.add_plot(create_line_plot("D4", 2),
                create_line_plot("D2", 1),
                create_line_plot("S4", 5),
                create_line_plot("S2", 4),
                create_line_plot("R", 3))

    return ar

data = chart_data.read_str(" ",
                           "0 0 0 0 0 0 0",
                           "1 45 63 2 9 30",
                           "2 118 133 3 20 53",
                           "3 174 194 3 31 71")
ar = create_graph(data)
ar.y_range = (0,200)
ar.y_axis.tic_interval=50
ar.legend=None
ar.draw()

tocslib.label(ar, "(a)").draw()

data = chart_data.read_str(" ",
                           "0 0 0 0 0 0 0",
                           "1 10 26.5 2 4 9",
                           "2 29 53 3 10 18",
                           "3 48 79 3 16 28")

ar = create_graph(data)
ar.y_range = (0,100)
ar.y_axis.label=None
ar.y_axis.tic_interval=25
ar.loc = tocslib.loc2
ar.draw()

tocslib.label(ar, "(b)").draw()