DEV Community

Discussion on: A Simple Machine Learning Project in Python

Collapse
 
bhoobalan profile image
bhoobalan • Edited

Good!!!
Another workaround is we can use "%matplotlib inline" while import like below so that we no need to use plt.show() explicitly everytime.

import matplotlib.pyplot as plt
%matplotlib inline

Useful when you use Jupiter Notebook.