make a few small corrections (It seems I lost some)

This commit is contained in:
Kloppenburg Ernst (CR/PJ-AI-R4) 2017-11-15 17:37:59 +01:00
parent 75ef3a9883
commit f688e6b633

View File

@ -321,7 +321,9 @@
"\n",
"Once cells are run you can often jump around and rerun cells in different orders, but not always. I'm trying to fix this, but there is a tradeoff. I'll define a variable in cell 10 (say), and then run code that modifies that variable in cells 11 and 12. If you go back and run cell 11 again the variable will have the value that was set in cell 12, and the code expects the value that was set in cell 10. So, occasionally you'll get weird results if you run cells out of order. My advise is to backtrack a bit, and run cells in order again to get back to a proper state. It's annoying, but the interactive aspect of Jupyter notebooks more than makes up for it. Better yet, submit an issue on GitHub so I know about the problem and fix it!\n",
"\n",
"Finally, some readers have reported problems with the animated plotting features in some browsers. I have not been able to duplicate this. In the code cell above `%matplot notebook` enables the interactive plots. If plots are not working for you, try changing this to read `%matplotlib inline`. You will lose the animated plotting, but it seems to work on all platforms and browsers."
"Finally, some readers have reported problems with the animated plotting features in some browsers. I have not been able to duplicate this. In the code cell above `%matplotlib notebook` enables the interactive plots. If plots are not working for you, try changing this to read `%matplotlib inline`. You will lose the animated plotting, but it seems to work on all platforms and browsers. \n",
"\n",
"!!The preceding paragraph is inconsistent with the code in cell #1 which already has `%matplotlib inline`!!"
]
},
{
@ -339,7 +341,7 @@
"\n",
"Another co-worker hears the commotion and comes over to find out what has you so excited. You explain the invention and once again step onto the scale, and proudly proclaim the result: \"161 lbs.\" And then you hesitate, confused.\n",
"\n",
"\"It read 172 lbs a few seconds ago\" you complain to your co-worker. \n",
"\"It read 172 lbs a few seconds ago\", you complain to your co-worker. \n",
"\n",
"\"I never said it was accurate,\" she replies.\n",
"\n",