Leci37/TensorFlow-stocks-prediction-Machine-learning-RealTime

distplot is a deprecated and will be removed in seaborn v0.14.0.

TheHarold opened this issue · 0 comments

When running get_technical_indicators.py the below warning appears. It's fine for now but we'll have to update this at somepoint in the future.

C:\Users\admin\projects\stocks-prediction-Machine-learning-RealTime-telegram\Utils\Utils_plotter.py:311: UserWarning:

distplot is a deprecated function and will be removed in seaborn v0.14.0.

Please adapt your code to use either displot (a figure-level function with
similar flexibility) or histplot (an axes-level function for histograms).

For a guide to updating your code to use the new functions, please see
https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751

sns.distplot(df[ele_B][(df[main_label] == 0)], bins=50, label="Nothing", color="#FFCC33") # amarillo huevo
C:\Users\admin\projects\stocks-prediction-Machine-learning-RealTime-telegram\Utils\Utils_plotter.py:313: UserWarning:

distplot is a deprecated function and will be removed in seaborn v0.14.0.

Please adapt your code to use either displot (a figure-level function with
similar flexibility) or histplot (an axes-level function for histograms).

For a guide to updating your code to use the new functions, please see
https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751

sns.distplot(df[ele_B][(df[main_label] == 100)], bins=50, label="Point of Buy", color="#00CC00") # verde
C:\Users\admin\projects\stocks-prediction-Machine-learning-RealTime-telegram\Utils\Utils_plotter.py:315: UserWarning:

distplot is a deprecated function and will be removed in seaborn v0.14.0.

Please adapt your code to use either displot (a figure-level function with
similar flexibility) or histplot (an axes-level function for histograms).

For a guide to updating your code to use the new functions, please see
https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751

sns.distplot(df[ele_B][(df[main_label] == -100)], bins=50, label="Point of Sale ", color="#FF00FF") # Magenta