Python-fold

Latest version: v0.1.2

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.2

Description
In this release, we are excited to introduce a new plot functionality to our project. This feature allows users to generate and customize plots directly within the base application, enhancing data visualization and analysis capabilities. The new plot functionality is implemented through a function named `plot`, which leverages the Plotly library to create interactive and visually appealing chart.

Key Features and Improvements:

1. **Plot Functionality:**
- **`plot` Function:** A new function that generates plots using plotly.
- **Customization Options:** Users can customize the plot by setting titles, axis labels, colors, and more.
- **Interactive Plots:** The generated plots are interactive.

2. **Test:**
- Added tests in the test section in the repository.

Example

To use the new plot functionality, you can call the `generate_plot` function as shown in the example below:

python
>>> import pandas as pd
>>> from fold import ExpandingNumberSplit
>>> index = pd.date_range("2010", "2024", freq="D")
>>> model = ExpandingNumberSplit(
... index,
... n=5,
... min_length=360,
... split=-180,
... sample_labels=["IS", "OOS"],
... )

>>> Generate a scatter plot
>>> fig = model.plot()

>>> Show the plot
>>> fig.show()

0.1.1

0.1.0

First release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.