handson-ml2 icon indicating copy to clipboard operation
handson-ml2 copied to clipboard

Update math_differential_calculus.ipynb

Open zuhairabid opened this issue 4 years ago • 2 comments

Just to make the eqn. more clear in the graph

zuhairabid avatar Mar 18 '21 10:03 zuhairabid

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Hi @zuhairabid , Thanks for your PR! The animate_tangent() function is used in another place with another function, so we can't hard-code y=f'(x)=2x in the function itself. However, I like the idea, so perhaps we could instead have an extra argument fp_str for this function, with default value None, and if it's not None then we use the title "y=f'(x)=" + fp_str. What do you think?

ageron avatar Mar 18 '21 18:03 ageron