Chapter 10: Adding a Section on Matplotlib Style Sheets#209
Conversation
|
Thanks @HumphreyYang . @mmcky , I can't see a link to the deployment for this PR. Am I missing something obvious? Thanks. |
|
@jstac there is a new category of contributor I haven't seen before Although the build is running https://6308b4bdea2ab00b79b91fd8--epic-agnesi-957267.netlify.app/intro.html |
|
@HumphreyYang I have sent you an invite for the QuantEcon organisation (GitHub) as a member. Will see if that works? |
Thanks @mmcky, I have accepted the invitation. |
|
Thanks @mmcky and @HumphreyYang @HumphreyYang , this looks good. Many thanks. Is it possible to get the title centered and in space above the plots, so it's easier to see? Please reduce the figsize to (10, 3). |
Thank you so much for your feedback @jstac. I have centered the title and resized the figure. Please kindly check the latest deployment and merge if it looks good to you. Many thanks. |
|
Thanks @HumphreyYang . Can you also please set the seed in these simulations (or change the logic) so that each plot acts on exactly the same data. I'm also wondering if it wouldn't be easier for the reader to follow if we broke this up into 4 separate cells. For example, you could have a function that takes a style as an argument and generates the plot. Then you could call that function 4 times, with a little bit more explanation regarding what you are doing (holding the reader's hand). What do you think? |
|
Nice work @HumphreyYang . Can you please separate these calls into separate cells: I don't think you need both lines in Finally, "let's" should be capitalized. |
|
Thank you so much for the review @jstac. I was catching an appointment so I haven't had everything finalised I think are needed to produce identical plots, but with random.seed(1) alone, the sampling variation of normal distribution does not have a significant impact on the plot. I have made another push based on your review. Please kindly check the commit and merge if it looks good to you. Many thanks. |
|
@HumphreyYang , I see what you mean about the seed. I think it would be neatest if all random variables were drawn from np.random and we set the seed with Also, could you please put these function calls in separate cells. (At the moment they are all in the same cell.) draw_graphs(style = 'seaborn') Please also remove the space around the |
|
Thanks for the timely review @jstac
Thank you so much for pointing this out. I was too focused on using what they have learnt in this chapter to draw the graph
I have updated them to reflect these changes. Please kindly see the latest deployment here |
|
Thanks @HumphreyYang , nice PR, but the calls to Please put them in separate cells, perhaps with some text above each one. (e.g., "First we call |
|
Hi @jstac, Sorry for misunderstanding your request. I thought you were asking me to add space between statements. I have put these statements into separate cells. Please kindly check the latest commit. |
|
Thanks @HumphreyYang . Please change " to set style sheet." -> " to set the style sheet." |
This reverts commit cecfe5d.
|
Hi @jstac, Please kindly check the latest commits for the revised version of this PR, and merge if it looks good to you now. Many thanks |
|
Nice work @HumphreyYang , merging. |
Hi @jstac,
This PR resolves #203 . The content for this lecture looks good to me so I did not make other changes to this lecture.
Could you please kindly review these changes and let me know if there is any change/improvement I can make on this PR?
Many thanks.