setup_charting_and_output#
- setup_charting_and_output(mode=OutputMode.interactive)[source]#
Sets up Jupyter Notebook based charting.
Set Quantstats chart to SVG output and for high-resolution screens
Mute common warnings like Matplotlib font loading
Example:
# Set Jupyter Notebook output mode parameters from tradeexecutor.backtest.notebook import setup_charting_and_output setup_charting_and_output()
- Parameters:
mode (OutputMode) – What kind of viewing context we have for this notebook output