smooth_disorder.vis.interactive¶
vis/interactive.py — Visualization for Jupyter Notebooks¶
This module configures matplotlib and seaborn for interactive use in Jupyter notebooks. Import this module at the top of a notebook to get consistent, readable plot styling.
Usage¶
from smooth_disorder.vis.interactive import Colors
import matplotlib.pyplot as plt
plt.plot(x, y, color=Colors.blue)
# or use integer indexing to cycle through colors:
plt.plot(x, y, color=Colors[0]) # red
plt.plot(x, y, color=Colors[1]) # orange