interactive_plotly_renderer#
API documentation for tradeexecutor.utils.notebook.interactive_plotly_renderer Python function.
- interactive_plotly_renderer()[source]#
Temporarily switch Plotly to interactive rendering.
Use this to override static mode set by
setup_charting_and_output()for specific charts that benefit from interactivity (e.g. legend toggling).Example:
with interactive_plotly_renderer(): fig.show()