~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to chaco/tests/test_style.pss

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2014-06-01 17:04:08 UTC
  • mfrom: (7.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140601170408-m86xvdjd83a4qon0
Tags: 4.4.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
 - Let the binary-predeb target work on the usr/lib/python* directory
   as we don't have usr/share/pyshared anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
# Sample plot stylesheet.
3
 
 
4
 
#-----------------------------------------------------------------------------
5
 
# Default component
6
 
#-----------------------------------------------------------------------------
7
 
 
8
 
# Since frames are at the top level of the containment hierarchy, the default 
9
 
# frame's style basically defines the default style attributes for all plot
10
 
# components that have those attributes.
11
 
 
12
 
frame {
13
 
    color: black;
14
 
    padding: 0;
15
 
    margin: 0;
16
 
}
17
 
 
18
 
text {
19
 
    font-family: modern;
20
 
    font-style: normal;
21
 
    font-size: 12;
22
 
}
23
 
 
24
 
#-----------------------------------------------------------------------------
25
 
# Titles & Labels
26
 
#-----------------------------------------------------------------------------
27
 
 
28
 
title {
29
 
    font-size: 16;
30
 
}
31
 
 
32
 
#-----------------------------------------------------------------------------
33
 
# Axis 
34
 
#-----------------------------------------------------------------------------
35
 
 
36
 
axis {
37
 
    color: black;
38
 
}
39
 
 
40
 
axis tick {
41
 
    in: 5.0;
42
 
    out: 5.0;
43
 
    line_width: 5.0;
44
 
}
45
 
 
46
 
axis label {
47
 
    font-size: 10;
48
 
    orientation: horizontal;
49
 
}
50
 
 
51
 
axis title {
52
 
    font-size: 14;
53
 
}
54
 
 
55
 
 
56
 
#-----------------------------------------------------------------------------
57
 
# Plots
58
 
#-----------------------------------------------------------------------------
59
 
 
60
 
scatter {
61
 
    marker: circle;
62
 
    marker_size: 4.0;
63
 
    line_width: 1.0;
64
 
    fill_color: black;
65
 
    outline_color: black;
66
 
}
67
 
 
68
 
lineplot {
69
 
    line_width: 1.0;
70
 
    line_dash: none;
71
 
}
72
 
 
73
 
 
74
 
#-----------------------------------------------------------------------------
75
 
# Tracks: containers with class GeoTrack will impart the following attributes
76
 
# to their contained plots
77
 
#-----------------------------------------------------------------------------
78
 
 
79
 
track lineplot {
80
 
    orientation = vertical;
81
 
    index_direction = flipped;  # normal=increasing index goes up the screen
82
 
}
83
 
 
84
 
 
85