AttributeError: module 'pyfolio' has no attribute 'plotting'
Hi,
With: import pyfolio ... ... ... with pyfolio.plotting.plotting_context(font_scale=1.1): pyfolio.create_full_tear_sheet(returns = ensemble_strat, benchmark_rets=dow_strat, set_context=False)
Then I get the following error:
AttributeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_13384/4244565123.py in
AttributeError: module 'pyfolio' has no attribute 'plotting'
I am not the most experienced user - perhaps someone is able to give me a hint. I have the feeling a path is missing somewhere but Pyfolio is installed according to recommendations, with no errors.
Thanks,
Versions
- Python version: 3.7
- Matplotlib version: 3.5