Releases: ActurialCapital/fold
Releases · ActurialCapital/fold
0.1.2
Release 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:
-
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.
-
Test:
- Added tests in the test section in the repository.
Example
To use the new plot functionality, you can call the plot
function as shown in the example below:
>>> 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
Updagte Codecov
0.1.0
First release