Skip to content

Commit cfdc223

Browse files
committed
Make color lowercase in example to avoid warning.
1 parent e9b8d3f commit cfdc223

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/statistics/barchart_demo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
fig, ax = plt.subplots()
3030
rects1 = ax.bar(ind - width/2, men_means, width, yerr=men_std,
31-
color='SkyBlue', label='Men')
31+
color='skyblue', label='Men')
3232
rects2 = ax.bar(ind + width/2, women_means, width, yerr=women_std,
33-
color='IndianRed', label='Women')
33+
color='indianred', label='Women')
3434

3535
# Add some text for labels, title and custom x-axis tick labels, etc.
3636
ax.set_ylabel('Scores')

examples/ticks_and_spines/tick-locators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def setup(ax):
6666
# Index Locator
6767
ax = plt.subplot(n, 1, 5)
6868
setup(ax)
69-
ax.plot(range(0, 5), [0]*5, color='White')
69+
ax.plot(range(0, 5), [0]*5, color='white')
7070
ax.xaxis.set_major_locator(ticker.IndexLocator(base=.5, offset=.25))
7171
ax.text(0.0, 0.1, "IndexLocator(base=0.5, offset=0.25)",
7272
fontsize=14, transform=ax.transAxes)

0 commit comments

Comments
 (0)