Skip to content

Commit

Permalink
Remove the color module.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 471869782
  • Loading branch information
cjqian authored and LIT team committed Sep 2, 2022
1 parent fc30fcb commit b18d887
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 173 deletions.
1 change: 0 additions & 1 deletion documentation/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ LM_LAYOUT = layout.LitCanonicalLayout(
modules.DataTableModule,
modules.DatapointEditorModule,
modules.SliceModule,
modules.ColorModule,
]
},
lower={
Expand Down
2 changes: 0 additions & 2 deletions lit_nlp/api/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class LitModuleName(dtypes.EnumSerializableAsValues, enum.Enum):
AnnotatedTextGoldModule = 'annotated-text-gold-module'
AttentionModule = 'attention-module'
ClassificationModule = 'classification-module'
ColorModule = 'color-module'
ConfusionMatrixModule = 'confusion-matrix-module'
CounterfactualExplainerModule = 'counterfactual-explainer-module'
CurvesModule = 'curves-module'
Expand Down Expand Up @@ -154,7 +153,6 @@ def to_json(self) -> JsonDict:
modules.DataTableModule,
modules.DatapointEditorModule,
modules.SliceModule,
modules.ColorModule,
)

##
Expand Down
167 changes: 0 additions & 167 deletions lit_nlp/client/modules/color_module.ts

This file was deleted.

1 change: 0 additions & 1 deletion lit_nlp/examples/coref/coref_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
modules.DataTableModule,
modules.DatapointEditorModule,
modules.SliceModule,
modules.ColorModule,
],
"Predictions": [
modules.SpanGraphGoldModule,
Expand Down
1 change: 0 additions & 1 deletion lit_nlp/examples/image_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def main(_):
modules.DataTableModule,
modules.DatapointEditorModule,
modules.SliceModule,
modules.ColorModule,
],
'Predictions': [modules.ClassificationModule, modules.ScalarModule],
'Explanations': [
Expand Down
1 change: 0 additions & 1 deletion lit_nlp/examples/lm_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
modules.DataTableModule,
modules.DatapointEditorModule,
modules.SliceModule,
modules.ColorModule,
]
},
lower={
Expand Down

0 comments on commit b18d887

Please sign in to comment.