Skip to content

Commit

Permalink
Update docs which used use_default_sections
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelak-dtml committed Aug 4, 2023
1 parent 9d3dda1 commit 5778218
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,18 @@ or modifying sections settings.

Selection of sections
~~~~~~~~~~~~~~~~~~~~~

If you want to use only a subset of sections you have to set
`use_default_sections` parameter of report to `False` and then you can add your own sections.
You can add sections using methods `add_*` of the `Report` class.

.. code-block:: python
# Shows only univariate analysis
# Shows only univariate and bivariate analysis
import edvart
df = edvart.example_datasets.dataset_titanic()
report = edvart.Report(df, use_default_sections=False)
report.add_univariate_analysis()
report = (
edvart.Report(df)
.add_univariate_analysis()
.add_bivariate_analysis()
)
Sections configuration
Expand Down

0 comments on commit 5778218

Please sign in to comment.