Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 8293774 commit 602a0ffCopy full SHA for 602a0ff
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