wolfhece.assets.boxplot.editor

Graphical editor for boxplot chart asset configuration.

Provides a wx.Frame-based UI for interactively editing multi-series boxplot data and display options. Changes are applied to a BoxplotZonesController and reflected in real-time on the map.

Module Contents

wolfhece.assets.boxplot.editor.GROUP_CANVAS = 'Boxplot - Canvas'[source]
wolfhece.assets.boxplot.editor.GROUP_AREA = 'Boxplot - Plot area'[source]
wolfhece.assets.boxplot.editor.GROUP_PLOT = 'Boxplot - Plot options'[source]
wolfhece.assets.boxplot.editor.GROUP_STYLE = 'Boxplot - Style'[source]
wolfhece.assets.boxplot.editor.GROUP_COLORS = 'Boxplot - Colors'[source]
class wolfhece.assets.boxplot.editor.BoxplotZonesEditor(parent, controller: wolfhece.assets.boxplot.controller.BoxplotZonesController)[source]

Bases: wx.Frame

Inheritance diagram of wolfhece.assets.boxplot.editor.BoxplotZonesEditor

wx editor window for BoxplotZonesController.

Grid has one row per data series (Label | Values | Color | Count). The Wolf_Param panel controls canvas geometry, area fractions, plot options, and per-series colours/alpha.

controller[source]
_updating_ui = False[source]
_colors: list[tuple[int, int, int, int]] = [][source]
_wp[source]
_live[source]
_grid[source]
_transform_map[source]
_colorpicker[source]
_alpha[source]
_add[source]
_del[source]
_apply[source]
_save_json[source]
_load_json[source]
_bind_events() None[source]
_init_wolf_param_schema() None[source]
_purge_color_params() None[source]
static _color_key(idx: int) str[source]
static _alpha_key(idx: int) str[source]
_sync_color_param_schema(count: int) None[source]
_set_wp_colors(colors: list[tuple[int, int, int, int]]) None[source]
_read_wp_colors(count: int) list[tuple[int, int, int, int]][source]
_colors_from_controller(count: int) list[tuple[int, int, int, int]][source]
_sync_wp_colors_to_grid() None[source]
_color_text(rgba: tuple) str[source]
_set_row_color(row: int, rgba: tuple) None[source]
_sync_picker_from_row(row: int) None[source]
static _parse_values(raw: str) list[float][source]

Parse comma-/space-separated floats from a grid cell.

_collect_grid_data() tuple[list[str], list[list[float]], list[tuple[int, int, int, int]]][source]
_read_wp() dict[source]
_apply_controller() None[source]
refresh_from_controller() None[source]

Reload all UI state from controller.

_maybe_live() None[source]
on_prop_changed(event)[source]
on_grid_changed(event)[source]
on_grid_select(event)[source]
on_grid_editor_hidden(event)[source]
on_picker_changed(event)[source]
on_transform_map(event)[source]
on_add_row(event)[source]
on_del_row(event)[source]
on_apply(event)[source]
on_save_json(event)[source]
on_load_json(event)[source]