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

Skip to content

Commit d600b1f

Browse files
Final FIx
1 parent 1bb8f86 commit d600b1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/lines_bars_and_markers/hat_graph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
bottom=playerA, label='Player A', fill=False)
2020
rects2 = ax.bar(x + width/2, playerB - playerA, width,
2121
bottom=playerA, label='Player B', edgecolor='black')
22+
2223
# Add some text for labels, title and custom x-axis tick labels, etc.
2324
ax.set_ylim(0, 60)
2425
ax.set_ylabel('Score')
@@ -27,6 +28,7 @@
2728
ax.set_xticklabels(labels)
2829
ax.legend()
2930
ax.set_xlabel('Games')
31+
3032
def Label(heights, rects):
3133
"""Attach a text label on top of each bar."""
3234
i = 0

0 commit comments

Comments
 (0)