Skip to content

Commit 265ca9b

Browse files
authored
Merge pull request #38 from sgbaird/dev
simple tooltips implementation
2 parents acf5ac0 + a39bff5 commit 265ca9b

File tree

775 files changed

+3903
-3201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

775 files changed

+3903
-3201
lines changed

docs/_static/honegumi_style.css

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
input[type="radio"] {
2+
opacity: 0;
3+
position: absolute;
4+
width: 0;
5+
height: 0;
6+
}
7+
8+
form {
9+
display: inline-flex;
10+
flex-direction: column;
11+
}
12+
13+
.row {
14+
display: inline-flex;
15+
align-items: center;
16+
justify-content: center;
17+
background-color: #f2f2f2;
18+
border: 0px solid #ccc;
19+
}
20+
21+
.row-label {
22+
display: inline-block;
23+
padding: 5px;
24+
background-color: #f2f2f2;
25+
width: 28ch;
26+
pointer-events: none;
27+
cursor: default;
28+
text-align: left;
29+
border: none;
30+
border-left: 3px solid #868686;
31+
flex-basis: 25.0%;
32+
33+
}
34+
35+
.row-option {
36+
display: inline-block;
37+
border: 1px solid #ccc;
38+
padding: 5px;
39+
cursor: pointer;
40+
background-color: #f2f2f2;
41+
text-align: center;
42+
flex-basis: 35.0%;
43+
}
44+
45+
input[type="radio"]:checked+label {
46+
background-color: #b1b1b1;
47+
}
48+
49+
.tooltip {
50+
display: inline-block;
51+
position: relative;
52+
cursor: pointer;
53+
color: #000;
54+
cursor: help;
55+
flex-basis: 3.0%;
56+
margin: 0px 5px;
57+
text-align: center;
58+
}
59+
60+
.tooltip:after {
61+
content: attr(data-tooltip);
62+
display: block;
63+
position: absolute;
64+
left: 40px;
65+
top: -10%;
66+
text-align: left;
67+
width: 300px;
68+
color: #FFF;
69+
background: #2C2C2C;
70+
padding: 10px;
71+
display: none;
72+
}
73+
74+
.tooltip:before {
75+
content: "";
76+
background: #2C2C2C;
77+
transform: rotate(45deg);
78+
width: 10px;
79+
height: 10px;
80+
top: 25%;
81+
left: 40px;
82+
position: absolute;
83+
margin-left: -5px;
84+
display: none;
85+
z-index: 2;
86+
}
87+
88+
.tooltip:hover:after,
89+
.tooltip:hover:before {
90+
display: block;
91+
}

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-batch.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "c088ec12",
5+
"id": "cfc33654",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "c8fe2be4",
14+
"id": "9b00c092",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "743f608e",
24+
"id": "4f2112a1",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-single.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "791cbcc9",
5+
"id": "09f50610",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-False+synchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "316561d8",
14+
"id": "543d75d6",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "567f672f",
24+
"id": "ce91516c",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-True+synchrony-batch.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "65af17b1",
5+
"id": "f21c920d",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-True%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-True+synchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "d42ead04",
14+
"id": "e5994f9d",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "fe7a00fc",
24+
"id": "89ba0c26",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-True+synchrony-single.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "fee96e1f",
5+
"id": "d63b9171",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-True%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-False+custom_threshold-True+synchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "e4284ceb",
14+
"id": "0c9d8b94",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "39aba702",
24+
"id": "106df911",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-False+synchrony-batch.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "fbf46c0c",
5+
"id": "bd7ad682",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-False+synchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "6d6db7d1",
14+
"id": "5613077f",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "307f4f2d",
24+
"id": "b6079271",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-False+synchrony-single.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "3552f943",
5+
"id": "fdb5b1ca",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-False+synchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "08e806f6",
14+
"id": "7357176a",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "c58d145b",
24+
"id": "dc79bb1d",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-True+synchrony-batch.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "fc06fe7c",
5+
"id": "6ad4298f",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-True%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-True+synchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "240e9787",
14+
"id": "199c7eed",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "8296c5d8",
24+
"id": "55c43125",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-True+synchrony-single.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "b57e07ab",
5+
"id": "bfb5d419",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-True%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-False+categorical-True+custom_threshold-True+synchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "58270a73",
14+
"id": "0b9cd614",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "af4f7656",
24+
"id": "c3dabe20",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-True+categorical-False+custom_threshold-False+synchrony-batch.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "be36c9ab",
5+
"id": "1c759ecf",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-True%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-True+categorical-False+custom_threshold-False+synchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "090dc38d",
14+
"id": "f04db8aa",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "e470dc91",
24+
"id": "6996fa9e",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-True+categorical-False+custom_threshold-False+synchrony-single.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "f6318eca",
5+
"id": "6e1cd3cc",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-True%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
8+
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi+model-FULLYBAYESIAN+custom_gen-True+existing_data-False+sum_constraint-False+order_constraint-False+linear_constraint-False+composition_constraint-True+categorical-False+custom_threshold-False+synchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
99
]
1010
},
1111
{
1212
"cell_type": "code",
1313
"execution_count": null,
14-
"id": "52a7cd55",
14+
"id": "f20068d0",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -21,7 +21,7 @@
2121
{
2222
"cell_type": "code",
2323
"execution_count": null,
24-
"id": "d899dd4b",
24+
"id": "4ac081c2",
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [

0 commit comments

Comments
 (0)