We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a912977 commit 9beec14Copy full SHA for 9beec14
core/shared/src/main/scala/plotly/Trace.scala
@@ -237,18 +237,24 @@ object Histogram {
237
}
238
239
@data class Surface(
240
+ x: Option[Sequence],
241
+ y: Option[Sequence],
242
z: Option[Sequence],
243
showscale: Option[Boolean],
244
opacity: Option[Double]
245
) extends Trace
246
247
object Surface {
248
def apply(
249
+ x: Sequence = null,
250
+ y: Sequence = null,
251
z: Sequence = null,
252
showscale: JBoolean = null,
253
opacity: JDouble = null
254
): Surface =
255
Surface(
256
+ Option(x),
257
+ Option(y),
258
Option(z),
259
Option(showscale) .map(b => b: Boolean),
260
Option(opacity) .map(d => d: Double)
0 commit comments