Skip to content

Commit fa4be85

Browse files
committed
made changes from PR comments
1 parent 6470e58 commit fa4be85

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

amber/operator-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ torch==2.8.0
2424
scikit-learn==1.5.0
2525
transformers==4.57.3
2626
boto3==1.40.53
27+
scikit-image==0.26.0

common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/visualization/ternaryContour/TernaryContourOpDesc.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class TernaryContourOpDesc extends PythonOperatorDescriptor {
6969
OperatorInfo(
7070
userFriendlyName = "Ternary Contour",
7171
operatorDescription =
72-
"A ternary contour plot shows how a measured value changes across all mixtures of three components that always sum to a constant (usually 100%).",
72+
"Shows how a measured value changes across all mixtures of three components that sum to a constant",
7373
operatorGroupName = OperatorGroupConstants.VISUALIZATION_SCIENTIFIC_GROUP,
7474
inputPorts = List(InputPort()),
7575
outputPorts = List(OutputPort(mode = OutputMode.SINGLE_SNAPSHOT))
@@ -81,7 +81,6 @@ class TernaryContourOpDesc extends PythonOperatorDescriptor {
8181
val outputSchema = Schema()
8282
.add("html-content", AttributeType.STRING)
8383
Map(operatorInfo.outputPorts.head.id -> outputSchema)
84-
Map(operatorInfo.outputPorts.head.id -> outputSchema)
8584
}
8685

8786
/** Returns a Python string that drops any tuples with missing values */
@@ -120,7 +119,6 @@ class TernaryContourOpDesc extends PythonOperatorDescriptor {
120119
pyb"""
121120
|from pytexera import *
122121
|
123-
|import plotly.express as px
124122
|import plotly.io
125123
|import plotly.figure_factory as ff
126124
|import numpy as np

0 commit comments

Comments
 (0)