-
Notifications
You must be signed in to change notification settings - Fork 1
/
documentation.html
85 lines (74 loc) · 5.52 KB
/
documentation.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Interactive_Visualization_Map_Project</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>Interactive_Visualization_Map_Project</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/celine/Github/interactive_programming/Interactive_Visualization_Map_Project.py">/home/celine/Github/interactive_programming/Interactive_Visualization_Map_Project.py</a></font></td></tr></table>
<p><tt>Kelly Brennan and Celine Ta<br>
Software Design Spring 2015<br>
Interactive Visualization Project<br>
<br>
We aim to create an interactive map that displays each countries' happiness rating and GDP</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="bokeh.plotting.html">bokeh.plotting</a><br>
<a href="xml.etree.cElementTree.html">xml.etree.cElementTree</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
<a href="pandas.html">pandas</a><br>
</td><td width="25%" valign=top><a href="pdb.html">pdb</a><br>
<a href="state_boundaries.html">state_boundaries</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="Interactive_Visualization_Map_Project.html#State">State</a>
</font></dt><dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Interactive_Visualization_Map_Project.html#Display_Map">Display_Map</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Display_Map">class <strong>Display_Map</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Takes in map image, array of defining coordinates for each <a href="#State">State</a>, and list of countries. Upon a mouse action, <a href="#Display_Map">Display_Map</a> will<br>
look up location of mouse action in relation to map and update display accordingly.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Display_Map-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>Initializes map image, borders, countries</tt></dd></dl>
<dl><dt><a name="Display_Map-run_display"><strong>run_display</strong></a>(self)</dt><dd><tt>Maintains display/ interaction experience</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="State">class <strong>State</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="State-__init__"><strong>__init__</strong></a>(self, name, happiness, safety, music, outdoors, smile, GDP, borderX, borderY)</dt><dd><tt>Creates <a href="#State">State</a> <a href="__builtin__.html#object">object</a> with name, mean happiness level, and contribution to GDP of a certain year</tt></dd></dl>
<dl><dt><a name="State-add_happiness_safety"><strong>add_happiness_safety</strong></a>(self, hapVal, safeVal, musVal, outVal, smileVal)</dt><dd><tt>No return. Records happiness and safety rating to <a href="#State">State</a> <a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="State-average_data"><strong>average_data</strong></a>(self)</dt><dd><tt>No return. Averages a state's happiness, safety</tt></dd></dl>
</td></tr></table></td></tr></table>
</body></html>