dafriedman97 / mlbook

Repository for the free online book Machine Learning from Scratch (link below!)
https://dafriedman97.github.io/mlbook/content/introduction.html
MIT License
1.16k stars 211 forks source link

specifying the x, y parameters #16

Open sebaschen opened 3 years ago

sebaschen commented 3 years ago

Plot with specifying the x, y parameters. The purpose is to solve the seaborn warning when we execute the script in GoogleColab, JupyterNotebook

/Users/lipuchen/venv/lib/python3.7/site-packages/seaborn/_decorators.py:43: FutureWarning: Pass the following variables as keyword args: x, y. From version 0.12, the only valid positional argument will be `data`, and passing other arguments without an explicit keyword will result in an error or misinterpretation.
  FutureWarning

Before we specify the x, y parameters.

image

After we specify the x, y parameters.

image