mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
DS-5284-fixes
fixes for visualisations in table header. Percentage threshold is moved from 70 to 60, size of visualisations is decreased, font of percentage values is changed, colours are properly named, so everything works good when theme is switched and describe command processing is refactored to correctly avoid possible warnings in its text for pandas and polars, also, added bars to histograms with height 0 to get rid of empty space. Merge-request: IJ-MR-117579 Merged-by: Georgii Zorabov <georgii.zorabov@jetbrains.com> GitOrigin-RevId: cf9e75fa51d827266c5b63116769bc662cc0d26b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e14b578819
commit
b5ec48e650
@@ -49,6 +49,7 @@ def exec_table_command(init_command, command_type, start_index, end_index, f_glo
|
||||
res.append(table_provider.get_value_counts(table))
|
||||
res.append(NEXT_VALUE_SEPARATOR)
|
||||
res.append(table_provider.get_value_occurrences_count(table))
|
||||
res.append(NEXT_VALUE_SEPARATOR)
|
||||
|
||||
|
||||
elif command_type == TableCommandType.SLICE:
|
||||
|
||||
@@ -121,7 +121,7 @@ class ColumnVisualisationType:
|
||||
class ColumnVisualisationUtils:
|
||||
NUM_BINS = 5
|
||||
MAX_UNIQUE_VALUES = 3
|
||||
UNIQUE_VALUES_PERCENT = 70
|
||||
UNIQUE_VALUES_PERCENT = 60
|
||||
|
||||
TABLE_OCCURRENCES_COUNT_NEXT_COLUMN_SEPARATOR = '__pydev_table_occurrences_count_next_column__'
|
||||
TABLE_OCCURRENCES_COUNT_NEXT_VALUE_SEPARATOR = '__pydev_table_occurrences_count_next_value__'
|
||||
|
||||
@@ -77,7 +77,7 @@ class ColumnVisualisationType:
|
||||
class ColumnVisualisationUtils:
|
||||
NUM_BINS = 5
|
||||
MAX_UNIQUE_VALUES = 3
|
||||
UNIQUE_VALUES_PERCENT = 70
|
||||
UNIQUE_VALUES_PERCENT = 60
|
||||
|
||||
TABLE_OCCURRENCES_COUNT_NEXT_COLUMN_SEPARATOR = '__pydev_table_occurrences_count_next_column__'
|
||||
TABLE_OCCURRENCES_COUNT_NEXT_VALUE_SEPARATOR = '__pydev_table_occurrences_count_next_value__'
|
||||
|
||||
Reference in New Issue
Block a user