You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 969e324
Browse filesBrowse the repository at this point in the historyBrowse files
feat(workflow-operator): title the Volcano Plot color bar with the x label
Drop the Color Bar Label property; the points are colored by the effect column that is on the x axis, so the color bar now carries the X Label text in both the engine template and the exported script.
Copy file name to clipboardExpand all lines: common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/visualization/volcanoPlot/VolcanoPlotOpDesc.scala
+5-12Lines changed: 5 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -76,21 +76,16 @@ class VolcanoPlotOpDesc extends PythonOperatorDescriptor with PlotlyStandaloneCo
76
76
77
77
@JsonProperty(required =false)
78
78
@JsonSchemaTitle("X Label")
79
-
@JsonPropertyDescription("The label for the x axis; leave empty for the effect size column name")
79
+
@JsonPropertyDescription(
80
+
"The label for the x axis and the color bar; leave empty for the effect size column name"
81
+
)
80
82
varxLabel:EncodableString=""
81
83
82
84
@JsonProperty(required =false)
83
85
@JsonSchemaTitle("Y Label")
84
86
@JsonPropertyDescription("The label for the y axis; leave empty for -log10(<p-value column>)")
85
87
varyLabel:EncodableString=""
86
88
87
-
@JsonProperty(required =false)
88
-
@JsonSchemaTitle("Color Bar Label")
89
-
@JsonPropertyDescription(
90
-
"The label for the color bar; leave empty for the effect size column name"
91
-
)
92
-
varcolorLabel:EncodableString=""
93
-
94
89
overridedefoperatorInfo:OperatorInfo=
95
90
OperatorInfo.forVisualization(
96
91
userFriendlyName ="Volcano Plot",
@@ -115,8 +110,6 @@ class VolcanoPlotOpDesc extends PythonOperatorDescriptor with PlotlyStandaloneCo
115
110
privatedeftitleText:EncodableString=if (title.trim.nonEmpty) title else"Volcano Plot"
Copy file name to clipboardExpand all lines: common/workflow-operator/src/test/scala/org/apache/texera/amber/operator/visualization/volcanoPlot/VolcanoPlotOpDescSpec.scala
+22-16Lines changed: 22 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -108,38 +108,44 @@ class VolcanoPlotOpDescSpec extends AnyFlatSpec with Matchers {
0 commit comments