diplomat.wx_gui.probability_displayerΒΆ

Provides a plotting widget, which displays a filled line graph. Used for displaying metrics at the bottom of the UI.

Functions

aabb_vector_intersections(color_plane_norm, ...)

apca_contrast(fg_color, bg_color)

circle_line_intersection(circle_center, ...)

clamp_luminance_black_levels(y)

color_to_luminance(color)

contrastify_color(fg_color, bg_color, distance)

linear_rgb_to_oklab(color)

linear_rgb_to_srgb(color[, as_int8])

oklab_to_linear_rgb(color)

oklab_to_oklch(color)

oklch_to_oklab(color)

plane_to_3d(coord, axis1_norm, axis2_norm)

print_all_sys_colors()

project_to_plane(coord, axis1_norm, axis2_norm)

srgb_to_linear_rgb(color[, as_int8])

unit_vector(vec)

vec_dot(arr1, arr2)

vector_distance(vector_a[, vector_b])

Classes

DrawCommand(draw_mode, points, point_before, ...)

DrawingInfo(x_center, y_center, ...)

ProbabilityDisplayer(*args, **kwargs)

A custom wx.Control which displays a list of probabilities in the form of a line segment plot.

WxPlotStyles(widget[, min_color_dist, ...])