Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some figure without code #361

Open
Yensan opened this issue Feb 7, 2018 · 3 comments
Open

Some figure without code #361

Yensan opened this issue Feb 7, 2018 · 3 comments

Comments

@Yensan
Copy link

Yensan commented Feb 7, 2018

I read this chapter and notice this figure.
http://www.scipy-lectures.org/packages/statistics/index.html#student-s-t-test-the-simplest-statistical-test

3.1.2.1. Student’s t-test: the simplest statistical test
1-sample t-test: testing the value of a population mean

As usual, I use pandas DataFrame to plot stat figure, such as bar/line/pie/scatter etc.
Plotting a distribution figure like that, it is not frequent to see, and hard to find out how to make out through google. But, there is no sample code at all! Can you add one? For an greenhand, it is really hard to do.

@gertingold
Copy link
Member

It seems to me that the main difficulty in reproducing this plot is that it is not specified what really is depicted.

As a side remark, it is not optimal that three colors are used in the plot even though the meaning of only two colors is explained. The reader has to guess that the third color is obtained by superposing the other two colors.

@Yensan
Copy link
Author

Yensan commented Feb 7, 2018

@gertingold ,You're absolutely right.
I don't even know what the figure what really is depicted. It is not matplotlib's hist figure

color is ok. But alpha is to strong, so you look it confusing

@mdhaber
Copy link
Contributor

mdhaber commented May 23, 2023

It is common throughout the notes for the figures to have no caption or code. I'd suggest:

  • Adding captions to all figures
  • Adding the possibility to show the code used to generate the figure (maybe collapsible)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants