Skip to content

Commit c7d1a6e

Browse files
committed
Small fixes
1 parent 0b6fd23 commit c7d1a6e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

examples/misc/table_demo.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import matplotlib.pyplot as plt
1010

1111

12-
data = [[66386, 174296, 75131, 577908, 32015],
13-
[58230, 381139, 78045, 99308, 160454],
14-
[89135, 80552, 152558, 497981, 603535],
15-
[78415, 81858, 150656, 193263, 69638],
16-
[139361, 331509, 343164, 781380, 52269]]
12+
data = [[ 66386, 174296, 75131, 577908, 32015],
13+
[ 58230, 381139, 78045, 99308, 160454],
14+
[ 89135, 80552, 152558, 497981, 603535],
15+
[ 78415, 81858, 150656, 193263, 69638],
16+
[139361, 331509, 343164, 781380, 52269]]
1717

1818
columns = ('Freeze', 'Wind', 'Flood', 'Quake', 'Hail')
1919
rows = ['%d year' % x for x in (100, 50, 20, 10, 5)]

examples/pie_and_polar_charts/pie_demo2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=========
55
66
Make a pie charts of varying size - see
7-
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.pie for the
7+
https://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.pie for the
88
docstring.
99
1010
This example shows a basic pie charts with labels optional features,

examples/scales/log_bar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
ax.set_xticks(x + dimw / 2, map(str, x))
2424
ax.set_yscale('log')
2525

26+
ax.set_xlabel('x')
27+
ax.set_ylabel('y')
28+
2629
plt.show()

0 commit comments

Comments
 (0)