[figures] make py3 compatible
This commit is contained in:
@@ -53,7 +53,7 @@ ax.annotate('mean plus\nstd. dev.',
|
||||
arrowprops=dict(arrowstyle="->", relpos=(0.5,0.0),
|
||||
connectionstyle="angle3,angleA=-60,angleB=80") )
|
||||
|
||||
ax = fig.add_axes([xpos, ypos, width, height], axis_bgcolor='none')
|
||||
ax = fig.add_axes([xpos, ypos, width, height])
|
||||
ax.spines['right'].set_visible(False)
|
||||
ax.spines['top'].set_visible(False)
|
||||
ax.spines['left'].set_visible(False)
|
||||
@@ -92,7 +92,7 @@ ax.annotate('median',
|
||||
arrowprops=dict(arrowstyle="->", relpos=(0.8,0.0),
|
||||
connectionstyle="angle3,angleA=-60,angleB=20") )
|
||||
|
||||
ax = fig.add_axes([xpos+width+0.03, ypos, 0.98-(xpos+width+0.03), height], axis_bgcolor='none')
|
||||
ax = fig.add_axes([xpos+width+0.03, ypos, 0.98-(xpos+width+0.03), height])
|
||||
ax.spines['right'].set_visible(False)
|
||||
ax.spines['top'].set_visible(False)
|
||||
ax.xaxis.set_ticks_position('bottom')
|
||||
|
||||
Reference in New Issue
Block a user