ccu.fancyplots._gui.utils¶
GUI utility functions.
Specifically, this module provides ccu.fancyplots._gui.utils.open_image(),
which opens a Tkinter-compatible version of an image shipped with
ccu, and ccu.fancyplots._gui.utils.print_easter_egg(), which prints
an Easter egg.
- ccu.fancyplots._gui.utils.open_image(name: str, width: int, height: int) PhotoImage[source]¶
Open Tkinter-compatible version of a
ccuimage.- Parameters:
name – The name of the image to open.
width – The width of the image when opened.
height – The height of the image when opened.
- Returns:
A Tkinter-compatible version of the opened image.