Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 447622f

Browse files
committed
Rename examples to avoid name conflicts
1 parent ff23f42 commit 447622f

File tree

7 files changed

+32
-32
lines changed

7 files changed

+32
-32
lines changed

examples/src/main/scala/models/Grid.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import math.{Pi=>pi}
88

99
import thirdparty._
1010

11-
object Grid extends Example {
11+
object GridExample extends Example {
1212
object source extends ColumnDataSource {
1313
val x = column(linspace(-2*pi, 2*pi, 1000))
1414
val y1 = column(sin(x.value))

examples/src/main/scala/models/Hover.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import breeze.linalg.DenseVector
66

77
import thirdparty._
88

9-
object Hover extends Example with Tools {
9+
object HoverExample extends Example with Tools {
1010
val (xx, yy) = meshgrid(0.0 to 100.0 by 4.0,
1111
0.0 to 100.0 by 4.0)
1212

examples/src/main/scala/models/Image.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import breeze.numerics.{sin,cos}
77

88
import thirdparty._
99

10-
object Image extends Example {
10+
object ImageExample extends Example {
1111
val N = 500
1212

1313
val x = linspace(0, 10, N)

examples/src/main/scala/models/ImageURL.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import breeze.linalg.linspace
66

77
import thirdparty._
88

9-
object ImageURL extends Example {
9+
object ImageURLExample extends Example {
1010
val url = "http://bokeh.pydata.org/en/latest/_static/images/logo.png"
1111
val N = 5
1212

examples/src/main/scala/models/Line.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import math.{Pi=>pi}
88

99
import thirdparty._
1010

11-
object Line extends Example {
11+
object LineExample extends Example {
1212
object source extends ColumnDataSource {
1313
val x = column(linspace(-2*pi, 2*pi, 1000))
1414
val y = column(sin(x.value))

examples/src/main/scala/models/Maps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package models
44

55
import Json.{arr,obj}
66

7-
object Maps extends Example {
7+
object MapsExample extends Example {
88
val x_range = new Range1d()
99
val y_range = new Range1d()
1010

examples/src/test/scala/Examples.scala

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,32 @@ class ExamplesSpec extends Specification with RunMatchers {
1212
val run = new Run("--quiet", "--dev")
1313

1414
"examples.models" should {
15-
"run Anscombe" in { models.Anscombe must run }
16-
"run Calendars" in { models.Calendars must run }
17-
"run Choropleth" in { models.Choropleth must run }
18-
"run ColorSpec" in { models.ColorSpec must run }
19-
"run Colors" in { models.Colors must run }
20-
"run DataTables" in { models.DataTables must run }
21-
"run DateAxis" in { models.DateAxis must run }
22-
"run Daylight" in { models.Daylight must run }
23-
"run Donut" in { models.Donut must run }
24-
"run Gauges" in { models.Gauges must run }
25-
"run Gears" in { models.Gears must run }
26-
"run Glyph1" in { models.Glyph1 must run }
27-
"run Glyph2" in { models.Glyph2 must run }
28-
"run Grid" in { models.Grid must run }
29-
"run Hover" in { models.Hover must run }
30-
"run Image" in { models.Image must run }
31-
"run ImageURL" in { models.ImageURL must run }
32-
"run Iris" in { models.Iris must run }
33-
"run IrisSplom" in { models.IrisSplom must run }
34-
"run Line" in { models.Line must run }
35-
"run Maps" in { models.Maps must run }
36-
"run MapsCities" in { models.MapsCities must run }
37-
"run Prim" in { models.Prim must run }
38-
"run Sprint" in { models.Sprint must run }
39-
"run Trail" in { models.Trail must run }
40-
"run TwinAxis" in { models.TwinAxis must run }
15+
"run Anscombe" in { models.Anscombe must run }
16+
"run Calendars" in { models.Calendars must run }
17+
"run Choropleth" in { models.Choropleth must run }
18+
"run ColorSpec" in { models.ColorSpec must run }
19+
"run Colors" in { models.Colors must run }
20+
"run DataTables" in { models.DataTables must run }
21+
"run DateAxis" in { models.DateAxis must run }
22+
"run Daylight" in { models.Daylight must run }
23+
"run Donut" in { models.Donut must run }
24+
"run Gauges" in { models.Gauges must run }
25+
"run Gears" in { models.Gears must run }
26+
"run Glyph1" in { models.Glyph1 must run }
27+
"run Glyph2" in { models.Glyph2 must run }
28+
"run GridExample" in { models.GridExample must run }
29+
"run HoverExample" in { models.HoverExample must run }
30+
"run ImageExample" in { models.ImageExample must run }
31+
"run ImageURLExample" in { models.ImageURLExample must run }
32+
"run Iris" in { models.Iris must run }
33+
"run IrisSplom" in { models.IrisSplom must run }
34+
"run LineExample" in { models.LineExample must run }
35+
"run MapsExample" in { models.MapsExample must run }
36+
"run MapsCities" in { models.MapsCities must run }
37+
"run Prim" in { models.Prim must run }
38+
"run Sprint" in { models.Sprint must run }
39+
"run Trail" in { models.Trail must run }
40+
"run TwinAxis" in { models.TwinAxis must run }
4141
}
4242
}
4343

0 commit comments

Comments
 (0)