Appearance¶
Some appearance-related components for the plots in Qimchi.
- qimchi.components.appearance.apply_appearance_axes(input_id: dict, figure: dict, app_val: str, axis: str, ticks: str, app_setting: str) dict [source]¶
Applies appearance settings to the axes of figure.
- Parameters:
input_id (dict) – Input ID containing appearance information to modify.
figure (dict) – Dict representation of a go.Figure object.
app_val (str) – Appearance value to apply.
axis (str) – Axis to apply the appearance settings to. Either “x” or “y”.
ticks (str) – Ticks to apply the appearance settings to. Either “maj” or “min”.
app_setting (str) – Appearance type to apply.
- Returns:
dict representation of the modified figure.
- Return type:
dict
- qimchi.components.appearance.apply_appearance_by_key(input_id: dict, figure: dict, app_val: str, key: str, app_setting: str) dict [source]¶
Changes the appearance of the figure based on the provided key.
- Parameters:
input_id (dict) – Input ID containing appearance information to modify.
figure (dict) – Dict representation of a go.Figure object.
app_val (str) – Appearance value to apply.
key (str) – Key to apply the appearance settings to. One of “hmap”, “line”, or “marker”.
app_setting (str) – Appearance type to apply.
- Returns:
dict representation of the modified figure
- Return type:
dict