jcamiloangarita / stocker

Stock Price Prediction
MIT License
118 stars 52 forks source link

Method Chaining #27

Open Velocities opened 3 years ago

Velocities commented 3 years ago

At the end of stocker/stocker/predict.py, you are applying multiple functions to plt. As long as the functions return self, you should be able to chain the methods. For example: Instead of this: word = 'hello' word.upper() word.lower() print(word) You could do this: word = 'hello' word.upper().lower() print(word) This is a weird example, but just an idea.