Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 32756d5

Browse filesBrowse files
committed
DOC: add header formatting to stat demos
1 parent bb8143a commit 32756d5
Copy full SHA for 32756d5
Expand file treeCollapse file tree

15 files changed

+60
-15
lines changed

‎examples/statistics/boxplot_color_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/boxplot_color_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Box plots with custom fill colors.
1+
"""
2+
=================================
3+
Box plots with custom fill colors
4+
=================================
25
36
This plot illustrates how to create two types of box plots
47
(rectangular and notched), and how to fill them with custom

‎examples/statistics/boxplot_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/boxplot_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of artist customization in box plots.
1+
"""
2+
=========================================
3+
Demo of artist customization in box plots
4+
=========================================
25
36
This example demonstrates how to use the various kwargs
47
to fully customize box plots. The first figure demostrates

‎examples/statistics/boxplot_vs_violin_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/boxplot_vs_violin_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Box plot - violin plot comparison.
1+
"""
2+
===================================
3+
Box plot vs. violin plot comparison
4+
===================================
25
36
Note that although violin plots are closely related to Tukey's (1977) box
47
plots, they add useful information such as the distribution of the sample

‎examples/statistics/bxp_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/bxp_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the boxplot drawer function
1+
"""
2+
===================================
3+
Demo of the boxplot drawer function
4+
===================================
25
36
This example demonstrates how to pass pre-computed box plot
47
statistics to the box plot drawer. The first figure demostrates

‎examples/statistics/customized_violin_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/customized_violin_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of violin plot customization.
1+
"""
2+
=================================
3+
Demo of violin plot customization
4+
=================================
25
36
This example demonstrates how to fully customize violin plots.
47
The first plot shows the default style by providing only

‎examples/statistics/errorbar_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/errorbar_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the errorbar function.
1+
"""
2+
=============================
3+
Demo of the errorbar function
4+
=============================
25
36
This exhibits the most basic use of of the error bar method.
47
In this case, constant values are provided for both the error

‎examples/statistics/errorbar_demo_features.py

Copy file name to clipboardExpand all lines: examples/statistics/errorbar_demo_features.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the different ways of specifying error bars.
1+
"""
2+
===================================================
3+
Demo of the different ways of specifying error bars
4+
===================================================
25
36
Errors can be specified as a constant value (as shown in
47
`errorbar_demo.py`), or as demonstrated in this example, they can be

‎examples/statistics/errorbar_limits.py

Copy file name to clipboardExpand all lines: examples/statistics/errorbar_limits.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of how to include upper and lower limits in error bars
1+
"""
2+
===========================================================
3+
Demo of how to include upper and lower limits in error bars
4+
===========================================================
25
36
In matplotlib, errors bars can have "limits". Applying limits to the
47
error bars essentially makes the error unidirectional. Because of that,

‎examples/statistics/errorbars_and_boxes.py

Copy file name to clipboardExpand all lines: examples/statistics/errorbars_and_boxes.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo on creating boxes from error bars using PatchCollection
1+
"""
2+
============================================================
3+
Demo on creating boxes from error bars using PatchCollection
4+
============================================================
25
36
In this example, we snazz up a pretty standard error bar plot by adding
47
a rectangle patch defined by the limits of the bars in both the x- and

‎examples/statistics/histogram_demo_cumulative.py

Copy file name to clipboardExpand all lines: examples/statistics/histogram_demo_cumulative.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of using histograms to plot a cumulative distribution.
1+
"""
2+
==========================================================
3+
Demo of using histograms to plot a cumulative distribution
4+
==========================================================
25
36
This shows how to plot a cumulative, normalized histogram as a
47
step function as means of visualization the empirical cumulative

‎examples/statistics/histogram_demo_features.py

Copy file name to clipboardExpand all lines: examples/statistics/histogram_demo_features.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the histogram (hist) function with a few features.
1+
"""
2+
=========================================================
3+
Demo of the histogram (hist) function with a few features
4+
=========================================================
25
36
In addition to the basic histogram, this demo shows a few optional
47
features:

‎examples/statistics/histogram_demo_histtypes.py

Copy file name to clipboardExpand all lines: examples/statistics/histogram_demo_histtypes.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the histogram function's different ``histtype`` settings.
1+
"""
2+
================================================================
3+
Demo of the histogram function's different ``histtype`` settings
4+
================================================================
25
36
* Histogram with step curve that has a color fill.
47
* Histogram with custom and unequal bin widths.

‎examples/statistics/histogram_demo_multihist.py

Copy file name to clipboardExpand all lines: examples/statistics/histogram_demo_multihist.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the histogram (hist) function with multiple data sets.
1+
"""
2+
=============================================================
3+
Demo of the histogram (hist) function with multiple data sets
4+
=============================================================
25
36
Plot histogram with multiple sample sets and demonstrate:
47

‎examples/statistics/multiple_histograms_side_by_side.py

Copy file name to clipboardExpand all lines: examples/statistics/multiple_histograms_side_by_side.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of how to produce multiple histograms side by side
1+
"""
2+
=======================================================
3+
Demo of how to produce multiple histograms side by side
4+
=======================================================
25
36
This example plots horizonal histograms of different samples along
47
a categorical x-axis. Additionally, the histograms are plotted to

‎examples/statistics/violinplot_demo.py

Copy file name to clipboardExpand all lines: examples/statistics/violinplot_demo.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Demo of the basics of violin plots.
1+
"""
2+
==================================
3+
Demo of the basics of violin plots
4+
==================================
25
36
Violin plots are similar to histograms and box plots in that they show
47
an abstract representation of the probability distribution of the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.