Skip to content

Export output #692

@TaguhiSekhleyan

Description

@TaguhiSekhleyan

Problem Description

Please provide a minimal, self-contained, and reproducible example:

f = pf.create_returns_tear_sheet(df, benchmark_rets=benchmark_rets,return_fig=True);
f.savefig('report.pdf')

Please provide the full traceback:

how we can export the full output? I use savefig(), but it saves only plots , and doesn't save  fists part of output

Please provide any additional information below:

saved filed didn't contain tabular part, for example these two tables
image
, saved only plots.

Versions

  • Pyfolio version: 0.9.4
  • Python version: 3.7
  • Pandas version:1.3.5
  • Matplotlib version: 3.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions