Skip to content

Commit

Permalink
#6860: rename packages (#6874)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslawmalekcodete authored and scottdraves committed Feb 18, 2018
1 parent 954a520 commit a6fb832
Show file tree
Hide file tree
Showing 145 changed files with 340 additions and 350 deletions.
4 changes: 2 additions & 2 deletions doc/clojure/Clojure.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"metadata": {},
"outputs": [],
"source": [
"%import com.twosigma.beakerx.widget.integers.IntSlider"
"%import com.twosigma.beakerx.widget.IntSlider"
]
},
{
Expand All @@ -192,7 +192,7 @@
"metadata": {},
"outputs": [],
"source": [
"%unimport com.twosigma.beakerx.widget.integers.IntSlider"
"%unimport com.twosigma.beakerx.widget.IntSlider"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions doc/groovy/ClasspathMagicCommands.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
"metadata": {},
"outputs": [],
"source": [
"%import com.twosigma.beakerx.widget.integers.IntSlider\n",
"%import com.twosigma.beakerx.widget.IntSlider\n",
"w = new IntSlider()\n",
"w.value = 60\n",
"w"
Expand All @@ -277,7 +277,7 @@
"metadata": {},
"outputs": [],
"source": [
"%unimport com.twosigma.beakerx.widget.integers.IntSlider"
"%unimport com.twosigma.beakerx.widget.IntSlider"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion doc/groovy/EasyForm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"metadata": {},
"outputs": [],
"source": [
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"\n",
"w = new IntSlider()\n",
"\n",
Expand Down
92 changes: 46 additions & 46 deletions doc/groovy/JavaWidgets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"\n",
"w = new IntSlider()\n",
"w.value = 60\n",
Expand Down Expand Up @@ -235,7 +235,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntProgress\n",
"import com.twosigma.beakerx.widget.IntProgress\n",
"bar = new IntProgress()\n",
"bar.value = 10\n",
"bar"
Expand Down Expand Up @@ -361,7 +361,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.selections.RadioButtons\n",
"import com.twosigma.beakerx.widget.RadioButtons\n",
"rb = new RadioButtons()\n",
"rb.options=['alpha', 'beta', 'delta', 'gamma']\n",
"rb.value = 'beta'\n",
Expand Down Expand Up @@ -427,7 +427,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.selections.Select\n",
"import com.twosigma.beakerx.widget.Select\n",
"select = new Select()\n",
"select.options=['Linux', 'Windows', 'OSX']\n",
"select.value = 'Windows'\n",
Expand Down Expand Up @@ -493,7 +493,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.bools.Checkbox\n",
"import com.twosigma.beakerx.widget.Checkbox\n",
"cb = new Checkbox()\n",
"cb"
]
Expand Down Expand Up @@ -643,7 +643,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.Text\n",
"import com.twosigma.beakerx.widget.Text\n",
"t = new Text()\n",
"t.value = \"Text example 1\"\n",
"t"
Expand Down Expand Up @@ -708,7 +708,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.Textarea\n",
"import com.twosigma.beakerx.widget.Textarea\n",
"ta = new Textarea()\n",
"ta.value = \"Textarea example 1\"\n",
"ta"
Expand Down Expand Up @@ -773,7 +773,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.bools.ToggleButton\n",
"import com.twosigma.beakerx.widget.ToggleButton\n",
"tb = new ToggleButton()\n",
"tb.tooltip = \"ToggleButton tooltip 1\"\n",
"tb.icon = 'check'\n",
Expand Down Expand Up @@ -861,7 +861,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.FloatSlider\n",
"import com.twosigma.beakerx.widget.FloatSlider\n",
"fs = new FloatSlider()\n",
"fs.value = 10.1\n",
"fs"
Expand Down Expand Up @@ -926,7 +926,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.FloatSlider\n",
"import com.twosigma.beakerx.widget.FloatSlider\n",
"fs = new FloatSlider()\n",
"fs.max = 200\n",
"fs. min = 10\n",
Expand Down Expand Up @@ -954,7 +954,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.FloatProgress\n",
"import com.twosigma.beakerx.widget.FloatProgress\n",
"floatProgress = new FloatProgress()\n",
"floatProgress.value = 10.2\n",
"floatProgress"
Expand Down Expand Up @@ -1019,7 +1019,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.Label\n",
"import com.twosigma.beakerx.widget.Label\n",
"label = new Label()\n",
"label.value = \"Label 1\"\n",
"label"
Expand Down Expand Up @@ -1084,7 +1084,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.HTML\n",
"import com.twosigma.beakerx.widget.HTML\n",
"label = new HTML()\n",
"label.value = \"Hello <b>World</b>\"\n",
"label"
Expand Down Expand Up @@ -1205,7 +1205,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntRangeSlider\n",
"import com.twosigma.beakerx.widget.IntRangeSlider\n",
"w = new IntRangeSlider()\n",
"w.value = [10,40]\n",
"w.orientation = \"horizontal\"\n",
Expand All @@ -1232,7 +1232,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.BoundedIntText\n",
"import com.twosigma.beakerx.widget.BoundedIntText\n",
"w = new BoundedIntText()\n",
"w.min = 0\n",
"w.max = 10\n",
Expand All @@ -1258,7 +1258,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntText\n",
"import com.twosigma.beakerx.widget.IntText\n",
"w = new IntText()\n",
"w"
]
Expand All @@ -1282,7 +1282,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntText\n",
"import com.twosigma.beakerx.widget.IntText\n",
"w = new IntText()\n",
"w"
]
Expand All @@ -1306,7 +1306,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.Play\n",
"import com.twosigma.beakerx.widget.Play\n",
"w = new Play()\n",
"w"
]
Expand All @@ -1330,7 +1330,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.FloatRangeSlider\n",
"import com.twosigma.beakerx.widget.FloatRangeSlider\n",
"w = new FloatRangeSlider()\n",
"w.value = [10,40]\n",
"w.orientation = \"horizontal\"\n",
Expand All @@ -1357,7 +1357,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.BoundedFloatText\n",
"import com.twosigma.beakerx.widget.BoundedFloatText\n",
"w = new BoundedFloatText()\n",
"w.min = 0 \n",
"w.max = 10\n",
Expand All @@ -1383,7 +1383,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.floats.FloatText\n",
"import com.twosigma.beakerx.widget.FloatText\n",
"w = new FloatText()\n",
"w"
]
Expand All @@ -1409,7 +1409,7 @@
"source": [
"//Example with passing different type to value\n",
"\n",
"import com.twosigma.beakerx.widget.integers.IntRangeSlider\n",
"import com.twosigma.beakerx.widget.IntRangeSlider\n",
"w = new IntRangeSlider()\n",
"w.value = [\"10\",[49.6]]\n",
"w.orientation = \"horizontal\"\n",
Expand Down Expand Up @@ -1438,7 +1438,7 @@
"source": [
"//Example with passing different type to value\n",
"\n",
"import com.twosigma.beakerx.widget.integers.IntRangeSlider\n",
"import com.twosigma.beakerx.widget.IntRangeSlider\n",
"import java.util.Collection\n",
"\n",
"Collection<Object> list = new ArrayList<>()\n",
Expand Down Expand Up @@ -1471,7 +1471,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.bools.Valid\n",
"import com.twosigma.beakerx.widget.Valid\n",
"\n",
"w = new Valid()\n",
"w.description = 'Valid!'\n",
Expand Down Expand Up @@ -1499,10 +1499,10 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.selectioncontainer.Accordion\n",
"import com.twosigma.beakerx.widget.bools.Valid\n",
"import com.twosigma.beakerx.widget.floats.BoundedFloatText\n",
"import com.twosigma.beakerx.widget.strings.Text\n",
"import com.twosigma.beakerx.widget.Accordion\n",
"import com.twosigma.beakerx.widget.Valid\n",
"import com.twosigma.beakerx.widget.BoundedFloatText\n",
"import com.twosigma.beakerx.widget.Text\n",
"\n",
"t = new Text()\n",
"t.value = \"Text example 1\"\n",
Expand Down Expand Up @@ -1537,7 +1537,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.Label\n",
"import com.twosigma.beakerx.widget.Label\n",
"widget = new Label()\n",
"widget.value = \"\\$\\$\\\\frac{n!}{k!(n-k)!} = \\\\binom{n}{k}\\$\\$\"\n",
"widget\n"
Expand All @@ -1562,7 +1562,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.selections.SelectionSlider\n",
"import com.twosigma.beakerx.widget.SelectionSlider\n",
"widget = new SelectionSlider()\n",
"widget.options=['scrambled', 'sunny side up', 'poached', 'over easy']\n",
"widget.value='sunny side up'\n",
Expand Down Expand Up @@ -1591,7 +1591,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.strings.HTMLMath\n",
"import com.twosigma.beakerx.widget.HTMLMath\n",
"widget = new HTMLMath()\n",
"widget.value = \"\\$x^2\\$ and \\$\\$\\\\frac{x+1}{x-1}\\$\\$\"\n",
"widget "
Expand Down Expand Up @@ -1636,7 +1636,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.selections.ToggleButtons\n",
"import com.twosigma.beakerx.widget.ToggleButtons\n",
"widget = new ToggleButtons()\n",
"widget.description='Speed:'\n",
"widget.options=['Slow', 'Regular', 'Fast']\n",
Expand Down Expand Up @@ -1665,13 +1665,13 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.Play\n",
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.box.HBox\n",
"import com.twosigma.beakerx.widget.link.Link\n",
"import com.twosigma.beakerx.widget.link.DirectionalLink\n",
"import static com.twosigma.beakerx.widget.link.Link.jslink\n",
"import static com.twosigma.beakerx.widget.link.DirectionalLink.jsdlink\n",
"import com.twosigma.beakerx.widget.Play\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"import com.twosigma.beakerx.widget.HBox\n",
"import com.twosigma.beakerx.widget.Link\n",
"import com.twosigma.beakerx.widget.DirectionalLink\n",
"import static com.twosigma.beakerx.widget.Link.jslink\n",
"import static com.twosigma.beakerx.widget.DirectionalLink.jsdlink\n",
"\n",
"slider = new IntSlider()\n",
"play= new Play()\n",
Expand Down Expand Up @@ -1704,7 +1704,7 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"invisibleSlider = new IntSlider()\n",
"invisibleSlider.max = 200\n",
"invisibleSlider.min = 10\n",
Expand Down Expand Up @@ -1741,9 +1741,9 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.box.HBox\n",
"import com.twosigma.beakerx.widget.box.VBox\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"import com.twosigma.beakerx.widget.HBox\n",
"import com.twosigma.beakerx.widget.VBox\n",
"\n",
"continuosEnabled = new IntSlider()\n",
"test = new HBox([continuosEnabled, continuosEnabled])\n"
Expand All @@ -1768,9 +1768,9 @@
}
],
"source": [
"import com.twosigma.beakerx.widget.integers.IntSlider\n",
"import com.twosigma.beakerx.widget.box.HBox\n",
"import com.twosigma.beakerx.widget.box.VBox\n",
"import com.twosigma.beakerx.widget.IntSlider\n",
"import com.twosigma.beakerx.widget.HBox\n",
"import com.twosigma.beakerx.widget.VBox\n",
"\n",
"continuousDisabled = new IntSlider()\n",
"continuousDisabled.continuous_update = false\n",
Expand Down
Loading

0 comments on commit a6fb832

Please sign in to comment.