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 10b7c6c commit 7521daeCopy full SHA for 7521dae
matplotlib2tikz/legend.py
@@ -123,15 +123,15 @@ def draw_legend(data, obj):
123
elif loc == 5:
124
# right
125
position = [1.0 - pad, 0.5]
126
- anchor = 'west'
+ anchor = 'east'
127
elif loc == 6:
128
# center left
129
position = [3 * pad, 0.5]
130
- anchor = 'east'
+ anchor = 'west'
131
elif loc == 7:
132
# center right
133
position = [1.0 - 3 * pad, 0.5]
134
135
elif loc == 8:
136
# lower center
137
position = [0.5, 3 * pad]
0 commit comments