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, andNODE_COLORconstants manually if this is undesired.- Parameters:
dark (bool) – Pass
Falsefor light theme,Truefor dark theme.