def pyhodl.charts.core.CryptoPlotter.__init__ |
( |
|
self, |
|
|
|
wallets |
|
) |
| |
def pyhodl.charts.core.CryptoPlotter.compute_knn_trend |
( |
|
x_data, |
|
|
|
y_val, |
|
|
|
smooth_points |
|
) |
| |
|
static |
:param x_data:[] of *
X-axis data
:param y_val: [] of float
List of values
:param smooth_points: int
Number of points to interpolate
:return: tuple ([] of *, [] of float)
New dataset generated (with knn) values of new dataset
def pyhodl.charts.core.CryptoPlotter.compute_trend |
( |
|
x_data, |
|
|
|
y_val, |
|
|
|
smooth_points |
|
) |
| |
|
static |
:param x_data:[] of *
X-axis data
:param y_val: [] of float
List of values
:param smooth_points: int
Number of points to interpolate
:return: tuple ([] of *, [] of float)
New dataset generated and smoothed values of new dataset
def pyhodl.charts.core.CryptoPlotter.get_wallet_by_coin |
( |
|
self, |
|
|
|
coin |
|
) |
| |
:param coin: str
Coin
:return: Wallet
Wallet with base coin specified
def pyhodl.charts.core.CryptoPlotter.plot |
( |
|
x_data, |
|
|
|
y_val, |
|
|
|
label, |
|
|
|
with_trend = False |
|
) |
| |
|
static |
:param x_data: [] of *
X-axis data
:param y_val: [] of float
List of values
:param label: str
Label of data points
:param with_trend: bool
True iff you want to plot also trend
:return: void
Plot data
def pyhodl.charts.core.CryptoPlotter.show |
( |
|
self, |
|
|
|
title, |
|
|
|
x_label = "Time" , |
|
|
|
y_label = "Amount" |
|
) |
| |
:param y_label: str
Label of Y-axis
:param x_label: str
Label of X-axis
:param title: str
Title of plot
:return: void
Shows plot
pyhodl.charts.core.CryptoPlotter.axis |
pyhodl.charts.core.CryptoPlotter.wallets |
The documentation for this class was generated from the following file:
- /home/stefano/Coding/Python/projects/pyhodl/pyhodl/charts/core.py