Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit daf5b0a

Browse files
committed
MEP12 of showcase's examples
1 parent 7b79174 commit daf5b0a

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

examples/showcase/anatomy.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# This figure shows the name of several matplotlib elements composing a figure
1+
"""
2+
===================
3+
Anatomy of a figure
4+
===================
5+
6+
This figure shows the name of several matplotlib elements composing a figure
7+
"""
28

39
import numpy as np
410
import matplotlib.pyplot as plt

examples/showcase/bachelors_degrees_by_gender.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
============================
3+
Bachelor's degrees by gender
4+
============================
5+
26
A graph of multiple time series which demonstrates extensive custom
37
styling of plot frame, tick lines and labels, and line graph properties.
48

examples/showcase/firefox.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=======
3+
Firefox
4+
=======
5+
"""
6+
17
import re
28
import numpy as np
39
import matplotlib.pyplot as plt

examples/showcase/integral_demo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""
2-
Plot demonstrating the integral as the area under a curve.
2+
==================================
3+
Integral as the area under a curve
4+
==================================
35
46
Although this is a simple example, it demonstrates some important tweaks:
57

0 commit comments

Comments
 (0)