| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2724116 commit 42ff09f
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | .. _stats_plots: | |
| 2 | 2 | ||
| 3 | - Specialized statistics plots | ||
| 4 | - ---------------------------- | ||
| 3 | + Statistics plots | ||
| 4 | + ---------------- | ||
| 5 | 5 | ||
| 6 | - Specialized plots for statistical analysis. | ||
| 6 | + Plots for statistical analysis. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,13 +13,13 @@ | |||
| 13 | 13 | # make data: | |
| 14 | 14 | np.random.seed(1) | |
| 15 | 15 | x = [2, 4, 6] | |
| 16 | - y = [4, 5, 4] | ||
| 17 | - yerr = np.random.uniform(0.5, 1.5, 3) | ||
| 16 | + y = [3.6, 5, 4.2] | ||
| 17 | + yerr = [0.9, 1.2, 0.5] | ||
| 18 | 18 | ||
| 19 | 19 | # plot: | |
| 20 | 20 | fig, ax = plt.subplots() | |
| 21 | 21 | ||
| 22 | - ax.errorbar(x, y, yerr, linewidth=2, capsize=6) | ||
| 22 | + ax.errorbar(x, y, yerr, fmt='o', linewidth=2, capsize=6) | ||
| 23 | 23 | ||
| 24 | 24 | ax.set(xlim=(0, 8), xticks=np.arange(1, 8), | |
| 25 | 25 | ylim=(0, 8), yticks=np.arange(1, 8)) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments