Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wusteven815 committed Nov 11, 2024
1 parent 12f4d1e commit 6b7cf89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
1 change: 1 addition & 0 deletions plugins/ui/src/deephaven/ui/components/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class TableFormat:
value: str | Undefined = UNDEFINED
mode: TableDatabar | Undefined = UNDEFINED


@dataclass
class TableDatabar:
"""
Expand Down
63 changes: 0 additions & 63 deletions plugins/ui/src/deephaven/ui/types/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,69 +565,6 @@ class DateRange(TypedDict):
DataBarValuePlacement = Literal["BESIDE", "OVERLAP", "HIDE"]


class DatabarConfig(TypedDict):
"""
Configuration for displaying a databar.
"""

column: ColumnName
"""
Name of the column to display as a databar.
"""

value_column: NotRequired[ColumnName]
"""
Name of the column to use as the value for the databar.
If not provided, the databar will use the column value.
This can be useful if you want to display a databar with
a log scale, but display the actual value in the cell.
In this case, the value_column would be the log of the actual value.
"""

min: NotRequired[Union[ColumnName, float]]
"""
Minimum value for the databar. Defaults to the minimum value in the column.
If a column name is provided, the minimum value will be the value in that column.
If a constant is providded, the minimum value will be that constant.
"""

max: NotRequired[Union[ColumnName, float]]
"""
Maximum value for the databar. Defaults to the maximum value in the column.
If a column name is provided, the maximum value will be the value in that column.
If a constant is providded, the maximum value will be that constant.
"""

axis: NotRequired[DataBarAxis]
"""
Whether the databar 0 value should be proportional to the min and max values,
in the middle of the cell, or on one side of the databar based on direction.
"""

direction: NotRequired[DataBarDirection]
"""
Direction of the databar.
"""

value_placement: NotRequired[DataBarValuePlacement]
"""
Placement of the value relative to the databar.
"""

color: NotRequired[Color]
"""
Color of the databar.
"""

opacity: NotRequired[float]
"""
Opacity of the databar fill.
"""


class Undefined:
"""
A class representing the type of an undefined value. To use the value itself, use `UNDEFINED` instead.
Expand Down

0 comments on commit 6b7cf89

Please sign in to comment.