AllenDowney / ThinkStats2

Text and supporting code for Think Stats, 2nd Edition
http://allendowney.github.io/ThinkStats2/
GNU General Public License v3.0
4.03k stars 11.31k forks source link

in ch 2.6 example code, clamp plot x-axis #54

Closed alexshepard closed 8 years ago

alexshepard commented 8 years ago

the text of the chapter says "Finally, I adjust the axis to show only data between 27 and 46 weeks." This adjusted axis is shown in figure 2.5. However, the sample code doesn't actually adjust the axis, so anyone following along won't see the clamped graph.

AllenDowney commented 8 years ago

Thanks for this. I will apply a slightly different fix.