reno.diagrams.set_dark_mode#

reno.diagrams.set_dark_mode(dark=False)#

Set themeing constants for the diagrams appropriately for dark/light theme.

Note that this will also change matplotlib style so that spark plots match. Set the DARK_MODE, SUBGRAPH_COLORS, and NODE_COLOR constants manually if this is undesired.

Parameters:

dark (bool) – Pass False for light theme, True for dark theme.