h-Klok / StatsWithJuliaBook

https://statisticswithjulia.org/
MIT License
1.08k stars 279 forks source link

Plotting correction in Figure 2.2 (listing 2.4) #32

Closed jaimefjorge closed 3 years ago

jaimefjorge commented 3 years ago

Hello. Thanks for writing the book, I'm enjoying reading it.

In Listing 2.4 (which corresponds to 2_chapter/fishing.jl), the plot! calls do not create the expected chart. Adding the named parameter xlims=(-0.5,4) to the plot! function calls creates the expected output.

jaimefjorge commented 3 years ago

I had my Plotting misconfigured. Restarting my Juno environment and executing the code sample created the expected output. Apologies for opening an issue.