We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82cfed3 + 602a0ff commit c1cf159Copy full SHA for c1cf159
galleries/examples/lines_bars_and_markers/stackplot_demo.py
@@ -30,7 +30,7 @@
30
fig, ax = plt.subplots()
31
ax.stackplot(year, population_by_continent.values(),
32
labels=population_by_continent.keys(), alpha=0.8)
33
-ax.legend(loc='upper left')
+ax.legend(loc='upper left', reverse=True)
34
ax.set_title('World population')
35
ax.set_xlabel('Year')
36
ax.set_ylabel('Number of people (millions)')
0 commit comments