-1

I am using python's Pyfolio library (which uses matplotlib) to plot analysis charts for a trading strategy developed with Backtrader. I attach an image of one of the windows. I can't make out anything, the window is full screen, the writing is overlapping and the plot are all squished together. enter image description here

I think I need a bigger screen to understand something, but I don't have one. The plots are put that way by the library, but isn't there a way to resize the text and the plots or to put a plot on each figure instead of just using one without changing the library? I have seen that I can resize the text, but only the text inside the graph, whereas I want to resize the text outside and the graphs or split them into multiple figures.

The simple code used:

strats = cerebro.run()
strat = strats[0]
pyfoliozer = strat.analyzers.getbyname('pyfolio')
returns, positions, transactions, gross_lev = pyfoliozer.get_pf_items()
pf.create_full_tear_sheet(returns, positions=positions, transactions=transactions, live_start_date='2020-05-01',)
Bio
  • 11
  • 3

0 Answers0