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

Skip to content

Commit c62a456

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.x' into v2.0.x
2 parents 8beb59a + 38298db commit c62a456

9 files changed

+34
-6
lines changed

examples/lines_bars_and_markers/barh_demo.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""
2-
Simple demo of a horizontal bar chart.
2+
====================
3+
Horizontal bar chart
4+
====================
5+
6+
This example showcases a simple horizontal bar chart.
37
"""
48
import matplotlib.pyplot as plt
59
plt.rcdefaults()

examples/lines_bars_and_markers/fill_demo.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""
2-
Simple demo of the fill function.
2+
==================
3+
A simple Fill plot
4+
==================
5+
6+
This example showcases the most basic fill plot a user can do with matplotlib.
37
"""
48
import numpy as np
59
import matplotlib.pyplot as plt

examples/lines_bars_and_markers/fill_demo_features.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""
2-
Demo of the fill function with a few features.
2+
========================
3+
A more complex fill demo
4+
========================
35
46
In addition to the basic fill plot, this demo shows a few optional features:
57

examples/lines_bars_and_markers/line_demo_dash_control.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""
2-
Demo of a simple plot with a custom dashed line.
2+
=======================================
3+
A simple plot with a custom dashed line
4+
=======================================
35
46
A Line object's ``set_dashes`` method allows you to specify dashes with
57
a series of on/off lengths (in points).

examples/lines_bars_and_markers/line_styles_reference.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
====================
3+
Line-style reference
4+
====================
5+
26
Reference for line-styles included with Matplotlib.
37
"""
48
import numpy as np

examples/lines_bars_and_markers/linestyles.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""
2-
Different linestyles copying those of Tikz/PGF
2+
==========
3+
Linestyles
4+
==========
5+
6+
This examples showcases different linestyles copying those of Tikz/PGF.
37
"""
48
import numpy as np
59
import matplotlib.pyplot as plt

examples/lines_bars_and_markers/marker_fillstyle_reference.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
=====================
3+
Marker filling-styles
4+
=====================
5+
26
Reference for marker fill-styles included with Matplotlib.
37
"""
48
import numpy as np

examples/lines_bars_and_markers/marker_reference.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
================================
3+
Filled and unfilled-marker types
4+
================================
5+
26
Reference for filled- and unfilled-marker types included with Matplotlib.
37
"""
48
from six import iteritems

examples/tests/backend_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function, division
21
"""
32
This is used to drive many of the examples across the backends, for
43
regression testing, and comparing backend efficiency.
@@ -18,6 +17,7 @@
1817
switches with a --.
1918
"""
2019

20+
from __future__ import print_function, division
2121
import os
2222
import time
2323
import sys

0 commit comments

Comments
 (0)